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 jsonpathcommand
kubectl get node NODE_NAME -o jsonpath='{.status.allocatable}'also accepted
kubectl get node NODE_NAME -o jsonpathPart of the Kubernetes CLI (kubectl) — Nodes category.
| Flag | Purpose |
|---|---|
-o | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →