← Nodes480 / 640
hardkubectl

Remove a label from a node by appending a dash to the key name

command

kubectl label node NODE_NAME KEY-

also accepted

kubectl label node

Command breakdown

Part of the Kubernetes CLI (kubectl) — Nodes category.

kubectllabelnodeNODE_NAMEKEY-

Test your recall — not just your reading.

Practice with interactive quiz →