Kubernetes Node Taints¶
Check Items¶
Check whether the taint needed for cluster upgrade exists on the node.
Taint Name | Impact |
---|---|
node.kubernetes.io/upgrade | NoSchedule |
Solution¶
Scenario 1: The node is skipped during the cluster upgrade.
Configure the kubectl command. For details, see Connecting to a Cluster Using kubectl.
Check the kubelet version of the corresponding node. The following information is expected:
If the version of the node is different from that of other nodes, the node is skipped during the upgrade. Reset the node and upgrade the cluster again. For details about how to reset a node, see Resetting a Node.
Note
Resetting a node will reset all node labels, which may affect workload scheduling. Before resetting a node, check and retain the labels that you have manually added to the node.