Enabling proxies in ECS and OCP environment
Depending on your cluster platform, whether it is RKE2 for Embedded Container Service (ECS) clusters or OpenShift Container Platform (OCP), specific configurations and deployment methods apply.
- .
- Enter the name of the configuration you are looking for:
ECS Server Environment Advanced Configuration
.With the help of the Settings menu, include the environment variables in uppercase in theECS Server Environment Advanced Configuration
snippet (Safety Valve) forconfig.yaml
to configure theCONTAINERD_HTTP_PROXY
,CONTAINERD_HTTPS_PROXY
andCONTAINERD_NO_PROXY
.Example:
CONTAINERD_HTTP_PROXY=http://proxy.example.com:8080
CONTAINERD_HTTPS_PROXY=http://proxy.example.com:8080
CONTAINERD_NO_PROXY=noproxy.address.com
-
Enter the name of the configuration you are looking for:
ECS Agent Environment Advanced Configuration
.With the help of the Settings menu, include uppercase environment variables in theECS Agent Environment Advanced Configuration
snippet (Safety Valve) forconfig.yaml
to configure theCONTAINERD_HTTP_PROXY
,CONTAINERD_HTTPS_PROXY
andCONTAINERD_NO_PROXY
.Example:
CONTAINERD_HTTP_PROXY=http://proxy.example.com:8080
CONTAINERD_HTTPS_PROXY=http://proxy.example.com:8080
CONTAINERD_NO_PROXY=noproxy.address.com
-
Restart the ECS by selecting.
To enable a cluster-wide proxy, follow the instructions in the OpenShift documentation: https://docs.openshift.com/container-platform/4.13/networking/enable-cluster-wide-proxy.html