hardkubectl
Output the full YAML specification of a specific pod resource
command
kubectl get pod POD_NAME -o yamlalso accepted
kubectl get po POD_NAME -o yamlkubectl get pod -o yamlcommand
kubectl get pod POD_NAME -o yamlalso accepted
kubectl get po POD_NAME -o yamlkubectl get pod -o yamlPart of the Kubernetes CLI (kubectl) — Pods category.
| Flag | Purpose |
|---|---|
-o | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →