From 5fc8843c4ce0d6230093f89258cc40d3410fc127 Mon Sep 17 00:00:00 2001 From: Maisem Ali Date: Sat, 1 Oct 2022 11:24:07 -0700 Subject: [PATCH] docs/k8s: [proxy] fix sysctl command Fixes #5805 Signed-off-by: Maisem Ali --- docs/k8s/proxy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/k8s/proxy.yaml b/docs/k8s/proxy.yaml index b7ceb0fbb..344f89c30 100644 --- a/docs/k8s/proxy.yaml +++ b/docs/k8s/proxy.yaml @@ -9,7 +9,7 @@ spec: serviceAccountName: "{{SA_NAME}}" initContainers: # In order to run as a proxy we need to enable IP Forwarding inside - # the container. The `net.ipv4.ip_forward` sysctl is not whitelisted + # the container. The `net.ipv4.ip_forward` sysctl is not allowlisted # in Kubelet by default. - name: sysctler image: busybox @@ -18,7 +18,7 @@ spec: command: ["/bin/sh"] args: - -c - - sysctl -w net.ipv4.ip_forward=1 -w net.ipv6.conf.all.forwarding=1 + - sysctl -w net.ipv4.ip_forward=1 net.ipv6.conf.all.forwarding=1 resources: requests: cpu: 1m