1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 12:53:28 +02:00
tldr/pages/common/kubectl-describe.md
Chris Paul 3e90f86173
kubectl-describe: refresh page description (#18010)
Co-authored-by: Nelson Figueroa <30811275+nelsonfigueroa@users.noreply.github.com>
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
2025-09-06 02:32:28 +03:00

796 B

kubectl describe

Show details of Kubernetes resources. More information: https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#describe.

  • Show details of pods in a namespace:

kubectl describe {{[po|pods]}} {{[-n|--namespace]}} {{namespace}}

  • Show details of nodes in a namespace:

kubectl describe {{[no|nodes]}} {{[-n|--namespace]}} {{namespace}}

  • Show the details of a specific pod in a namespace:

kubectl describe {{[po|pods]}} {{pod_name}} {{[-n|--namespace]}} {{namespace}}

  • Show the details of a specific node in a namespace:

kubectl describe {{[no|nodes]}} {{node_name}} {{[-n|--namespace]}} {{namespace}}

  • Show details of Kubernetes objects defined in a YAML manifest file:

kubectl describe {{[-f|--filename]}} {{path/to/manifest.yaml}}