Remove Kubelet --network-plugin=cni flag

* Now that `docker-shim` is no longer used, the Kubelet flag
is no longer needed and will be removed in v1.24
This commit is contained in:
Dalton Hubble
2022-01-14 10:41:19 -08:00
parent 08ea9776f3
commit 2265ab5375
22 changed files with 3 additions and 20 deletions

View File

@ -101,7 +101,6 @@ systemd:
--healthz-port=0 \
--hostname-override=${domain_name} \
--kubeconfig=/var/lib/kubelet/kubeconfig \
--network-plugin=cni \
--node-labels=node.kubernetes.io/controller="true" \
--pod-manifest-path=/etc/kubernetes/manifests \
--read-only-port=0 \

View File

@ -76,7 +76,6 @@ systemd:
--healthz-port=0 \
--hostname-override=${domain_name} \
--kubeconfig=/var/lib/kubelet/kubeconfig \
--network-plugin=cni \
--node-labels=node.kubernetes.io/node \
%{~ for label in compact(split(",", node_labels)) ~}
--node-labels=${label} \