hardkubectl
Extract the kubelet version from every node to verify upgrade status
command
kubectl get nodes -o jsonpath='{.items[*].status.nodeInfo.kubeletVersion}'also accepted
kubectl get nodes -o jsonpathcommand
kubectl get nodes -o jsonpath='{.items[*].status.nodeInfo.kubeletVersion}'also accepted
kubectl get nodes -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 →