Skip to content

Commit b822be4

Browse files
authored
Merge pull request #932 from abhay-krishna/fix-proxy-docs
Fix containerd/kubelet proxy configuration docs for EKS Hybrid nodes
2 parents 840f3bb + ea9c5f8 commit b822be4

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

latest/ug/nodes/hybrid-nodes-proxy.adoc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ The `containerd.service.d` directory will need to be created for this file. You
4343
[source,yaml,subs="verbatim,attributes,quotes"]
4444
----
4545
mkdir -p /etc/systemd/system/containerd.service.d
46-
echo '[Service]' > /etc/systemd/system/containerd.service.d
47-
echo 'Environment="HTTP_PROXY=http://[.replaceable]#proxy-domain:port#"' >> /etc/systemd/system/containerd.service.d
48-
echo 'Environment="HTTPS_PROXY=http://[.replaceable]#proxy-domain:port#"' >> /etc/systemd/system/containerd.service.d
49-
echo 'Environment="NO_PROXY=localhost"' >> /etc/systemd/system/containerd.service.d
46+
echo '[Service]' > /etc/systemd/system/containerd.service.d/http-proxy.conf
47+
echo 'Environment="HTTP_PROXY=http://[.replaceable]#proxy-domain:port#"' >> /etc/systemd/system/containerd.service.d/http-proxy.conf
48+
echo 'Environment="HTTPS_PROXY=http://[.replaceable]#proxy-domain:port#"' >> /etc/systemd/system/containerd.service.d/http-proxy.conf
49+
echo 'Environment="NO_PROXY=localhost"' >> /etc/systemd/system/containerd.service.d/http-proxy.conf
5050
systemctl daemon-reload
5151
systemctl restart containerd
5252
----
@@ -72,12 +72,12 @@ The `kubelet.service.d` directory must be created for this file. You will need t
7272
[source,yaml,subs="verbatim,attributes,quotes"]
7373
----
7474
mkdir -p /etc/systemd/system/kubelet.service.d
75-
echo '[Service]' > /etc/systemd/system/kubelet.service.d
76-
echo 'Environment="HTTP_PROXY=http://[.replaceable]#proxy-domain:port#"' >> /etc/systemd/system/kubelet.service.d
77-
echo 'Environment="HTTPS_PROXY=http://[.replaceable]#proxy-domain:port#"' >> /etc/systemd/system/kubelet.service.d
78-
echo 'Environment="NO_PROXY=localhost"' >> /etc/systemd/system/kubelet.service.d
75+
echo '[Service]' > /etc/systemd/system/kubelet.service.d/http-proxy.conf
76+
echo 'Environment="HTTP_PROXY=http://[.replaceable]#proxy-domain:port#"' >> /etc/systemd/system/kubelet.service.d/http-proxy.conf
77+
echo 'Environment="HTTPS_PROXY=http://[.replaceable]#proxy-domain:port#"' >> /etc/systemd/system/kubelet.service.d/http-proxy.conf
78+
echo 'Environment="NO_PROXY=localhost"' >> /etc/systemd/system/kubelet.service.d/http-proxy.conf
7979
systemctl daemon-reload
80-
systemctl restart containerd
80+
systemctl restart kubelet
8181
----
8282

8383
=== `ssm` proxy configuration

0 commit comments

Comments
 (0)