kubernetes/cmd/kubeadm/app
Lubomir I. Ivanov fb7ddf88e9 kubeadm: mark the "master" label/taint as deprecated
- Mark the "node-role.kubernetes.io/master" key for labels
and taints as deprecated.
- During "kubeadm init/join" apply the label
"node-role.kubernetes.io/control-plane" to new control-plane nodes,
next to the existing "node-role.kubernetes.io/master" label.
- During "kubeadm upgrade apply", find all Nodes with the "master"
label and also apply the "control-plane" label to them
(if they don't have it).
- During upgrade health-checks collect Nodes labeled both "master"
and "control-plane".
- Rename the constants.ControlPlane{Taint|Toleraton} to
constants.OldControlPlane{Taint|Toleraton} to manage the transition.
- Mark constants.OldControlPlane{{Taint|Toleraton} as deprecated.
- Use constants.OldControlPlane{{Taint|Toleraton} instead of
constants.ControlPlane{Taint|Toleraton} everywhere.
- Introduce constants.ControlPlane{Taint|Toleraton}.
- Add constants.ControlPlaneToleraton to the kube-dns / CoreDNS
Deployments to make them anticipate the introduction
of the "node-role.kubernetes.io/control-plane:NoSchedule"
taint (constants.ControlPlaneTaint) on kubeadm control-plane Nodes.
2020-11-10 22:10:13 +02:00
..
apis kubeadm: validate node-cidr-mask are correct 2020-10-22 17:31:10 +02:00
cmd kubeadm: mark the "master" label/taint as deprecated 2020-11-10 22:10:13 +02:00
componentconfigs Remove false positive warning in kubeadm cmd 2020-08-06 12:45:55 -07:00
constants kubeadm: mark the "master" label/taint as deprecated 2020-11-10 22:10:13 +02:00
discovery Run hack/update-vendor.sh 2020-05-16 07:54:33 -04:00
features kubeadm: allow creating a cluster with ECDSA keys 2020-02-24 11:20:07 +02:00
images Run hack/update-vendor.sh 2020-05-16 07:54:33 -04:00
phases kubeadm: mark the "master" label/taint as deprecated 2020-11-10 22:10:13 +02:00
preflight Merge pull request #93275 from xlgao-zju/check-mem 2020-09-03 08:17:40 -07:00
util kubeadm: mark the "master" label/taint as deprecated 2020-11-10 22:10:13 +02:00
BUILD Run hack/update-vendor.sh 2020-05-16 07:54:33 -04:00
kubeadm.go switch over k/k to use klog v2 2020-05-16 07:54:27 -04:00