Upgrades the control plane instance deployed on this node. IMPORTANT. This command should be executed after executing
kubeadm upgrade apply on another control plane instance
Downloads 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 –kubelet-version parameter to determine what the desired kubelet version is. Give
kubeadm upgrade node experimental-control-plane [flags]
# Downloads the kubelet configuration from the ConfigMap in the cluster. Uses a specific desired kubelet version. kubeadm upgrade node config --kubelet-version 1.14.0 # Simulates the downloading of the kubelet configuration from the ConfigMap in the cluster with a specific desired # version. Does not change any state locally on the node. kubeadm upgrade node config --kubelet-version 1.14.0 --dry-run
|Do not change any state, just output the actions that would be performed.|
|--etcd-upgrade Default: true|
|Perform the upgrade of etcd.|
|help for experimental-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.|
|[EXPERIMENTAL] The path to the 'real' host root filesystem.|
Was this page helpful?
Thanks for the feedback. If you have a specific, answerable question about how to use Kubernetes, ask it on Stack Overflow. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.