hardkubectl
Mark a node as unschedulable using a JSON patch without draining it
command
kubectl patch node NODE_NAME -p '{"spec":{"unschedulable":true}}'also accepted
kubectl patch nodecommand
kubectl patch node NODE_NAME -p '{"spec":{"unschedulable":true}}'also accepted
kubectl patch nodeTest your recall — not just your reading.
Practice with interactive quiz →