3.2. 系统代理配置
出站代理在 control plane 中所有节点的系统级别配置。
必须设置以下环境变量:
http_proxy=“http://external-proxy_0:3128” https_proxy=“http://external-proxy_0:3128” no_proxy=“localhost,127.0.0.0/8,10.0.0.0/8”
http_proxy=“http://external-proxy_0:3128”
https_proxy=“http://external-proxy_0:3128”
no_proxy=“localhost,127.0.0.0/8,10.0.0.0/8”
您还可以将这些变量添加到 /etc/environment 文件中,使它们永久保留。
安装程序确保在安装过程中所有外部通信都通过代理。对于容器化安装,这些变量可确保 podman 使用出口代理。