之外通过这种行为来模拟代理。</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ kubectl create namespace external
</code></pre></li><li><p>为 Squid 代理创建配置文件。</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ cat &lt;&lt;EOF &gt; ./proxy.conf
http_port 3128

acl SSL_ports port 443
acl CONNECT method CONNECT

http_access deny CONNECT !SSL_ports
http_access allow localhost manager
http_access deny manager
http_access allow all

cor