What is the direct effect of kubectl cordon worker-1?
kubectl cordon worker-1
It stops the node's kubelet process.
It marks worker-1 unschedulable so new Pods are not placed there.
worker-1
It permanently deletes the node from the cluster.
It immediately deletes every Pod already running there.