This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.第 15 章 配置集群范围代理
生产环境可能会拒绝直接访问互联网,而是提供 HTTP 或 HTTPS 代理。您可以通过修改现有集群的 Proxy 对象或在新集群的 install-config.yaml 文件中配置代理设置,将 OpenShift Container Platform 配置为使用代理。
重要
只有在使用用户置备的基础架构安装,或者为支持的供应商提供自己的网络(如虚拟私有云或 virual 网络)时,集群范围的代理才会被支持。
15.1. 先决条件 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
and determine whether any of them must bypass the proxy. By default, all cluster egress traffic is proxied, including calls to the cloud provider API for the cloud that hosts your cluster. Add sites to the Proxy object's `spec.noProxy` field to bypass the proxy if necessary.
and determine whether any of them must bypass the proxy. By default, all cluster egress traffic is proxied, including calls to the cloud provider API for the cloud that hosts your cluster. Add sites to the Proxy object's `spec.noProxy` field to bypass the proxy if necessary.Copy to Clipboard Copied! Toggle word wrap Toggle overflow 注意Proxy 对象的
status.noProxy字段默认填充实例元数据端点 (169.254.169.254),以及您的安装配置中networking.machineCIDR、networking.clusterNetwork.cidr和networking.serviceNetwork[]字段的值。