Merge pull request #118537 from SataQiu/fix-cluster-gce-20230607

replace node-role.kubernetes.io/master taint with node-role.kubernetes.io/control-plane for gce kubelet flags
This commit is contained in:
Kubernetes Prow Robot 2023-07-05 10:40:57 -07:00 committed by GitHub
commit c1d4ec0677
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -784,7 +784,7 @@ function construct-linux-kubelet-flags {
#TODO(mikedanese): allow static pods to start before creating a client
#flags+=" --bootstrap-kubeconfig=/var/lib/kubelet/bootstrap-kubeconfig"
#flags+=" --kubeconfig=/var/lib/kubelet/kubeconfig"
flags+=" --register-with-taints=node-role.kubernetes.io/master=:NoSchedule"
flags+=" --register-with-taints=node-role.kubernetes.io/control-plane=:NoSchedule"
flags+=" --kubeconfig=/var/lib/kubelet/bootstrap-kubeconfig"
flags+=" --register-schedulable=false"
fi