mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 05:57:25 +00:00
Use feature-gates command line for kube-proxy
Avoid throwing `featureGates:` into the kube-proxy yaml, since it's not in the right format. It should be ``` featureGates: AllAlpha: true ``` Since FEATURES_GATES is set to `AllAlpha=true`, we can't just throw that into the yaml file. Just pass along FEATURES_GATES in the command line instead just like we do for all other services
This commit is contained in:
parent
2413dc7fe9
commit
c339fc0c4f
@ -817,13 +817,13 @@ kind: KubeProxyConfiguration
|
|||||||
clientConnection:
|
clientConnection:
|
||||||
kubeconfig: ${CERT_DIR}/kube-proxy.kubeconfig
|
kubeconfig: ${CERT_DIR}/kube-proxy.kubeconfig
|
||||||
hostnameOverride: ${HOSTNAME_OVERRIDE}
|
hostnameOverride: ${HOSTNAME_OVERRIDE}
|
||||||
featureGates: ${FEATURE_GATES}
|
|
||||||
mode: ${KUBE_PROXY_MODE}
|
mode: ${KUBE_PROXY_MODE}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
sudo "${GO_OUT}/hyperkube" proxy \
|
sudo "${GO_OUT}/hyperkube" proxy \
|
||||||
--config=/tmp/kube-proxy.yaml \
|
--config=/tmp/kube-proxy.yaml \
|
||||||
--master="https://${API_HOST}:${API_SECURE_PORT}" >"${PROXY_LOG}" \
|
--master="https://${API_HOST}:${API_SECURE_PORT}" >"${PROXY_LOG}" \
|
||||||
|
--feature-gates="${FEATURE_GATES}" \
|
||||||
--v=${LOG_LEVEL} 2>&1 &
|
--v=${LOG_LEVEL} 2>&1 &
|
||||||
PROXY_PID=$!
|
PROXY_PID=$!
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user