Black lives matter.
We stand in solidarity with the Black community.
Racism is unacceptable.
It conflicts with the core values of the Kubernetes project and our community does not tolerate it.
We stand in solidarity with the Black community.
Racism is unacceptable.
It conflicts with the core values of the Kubernetes project and our community does not tolerate it.
In v1.15.0, kubeadm introduced preliminary support for kubeadm upgrade node
phases.
Phases for other kubeadm upgrade
sub-commands such as apply
, could be added in the
following releases.
Using this phase you can choose to execute the separate steps of the upgrade of
secondary control-plane or worker nodes. Please note that kubeadm upgrade apply
still has to
be called on a primary control-plane node.
Use this command to invoke single phase of the node workflow
-h, --help | |
help for phase |
--rootfs string | |
[EXPERIMENTAL] The path to the 'real' host root filesystem. |
Upgrade the control plane instance deployed on this node, if any
kubeadm upgrade node phase control-plane [flags]
--certificate-renewal Default: true | |
Perform the renewal of certificates used by component changed during upgrades. | |
--dry-run | |
Do not change any state, just output the actions that would be performed. | |
--etcd-upgrade Default: true | |
Perform the upgrade of etcd. | |
-k, --experimental-kustomize string | |
The path where kustomize patches for static pod manifests are stored. | |
-h, --help | |
help for control-plane | |
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | |
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. |
--rootfs string | |
[EXPERIMENTAL] The path to the 'real' host root filesystem. |
Download the kubelet configuration from a ConfigMap of the form "kubelet-config-1.X" in the cluster, where X is the minor version of the kubelet. kubeadm uses the KuberneteVersion field in the kubeadm-config ConfigMap to determine what the desired kubelet version is.
kubeadm upgrade node phase kubelet-config [flags]
--dry-run | |
Do not change any state, just output the actions that would be performed. | |
-h, --help | |
help for kubelet-config | |
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | |
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. |
--rootfs string | |
[EXPERIMENTAL] The path to the 'real' host root filesystem. |
kubeadm init
or kubeadm join