← Nodes485 / 640
hardkubectl

Extract the allocatable CPU and memory resources from a specific node

command

kubectl get node NODE_NAME -o jsonpath='{.status.allocatable}'

also accepted

kubectl get node NODE_NAME -o jsonpath

Command breakdown

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

kubectlgetnodeNODE_NAME-ojsonpath='{.status.allocatable}'
FlagPurpose
-oBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →