← Nodes488 / 640
hardkubectl

Add or update an annotation on a node

command

kubectl annotate node NODE_NAME KEY=VALUE

also accepted

kubectl annotate node

Command breakdown

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

kubectlannotatenodeNODE_NAMEKEY=VALUE

Test your recall — not just your reading.

Practice with interactive quiz →