kubernetes:warp:8c686
Mark node as unschedulable
$ kubectl cordon ${node}
try on your machine
The command "kubectl cordon ${node}" is used to mark a particular Kubernetes node as unschedulable.
Here, "${node}" is a placeholder that needs to be replaced with the actual name or identifier of the node you want to cordon.
When a node is cordoned, it means that Kubernetes will stop scheduling new pods onto that node. However, the existing pods running on the node will continue to run as long as they remain healthy.
This command is useful in scenarios such as performing maintenance on a node or when you want to temporarily prevent new workloads from being scheduled on a specific node.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.