kubectl describe
Show details of Kubernetes objects and resources.
- Show details of pods in a namespace:
kubectl describe pods -n {namespace}
- Show details of nodes in a namespace:
kubectl describe nodes -n {namespace}
- Show the details of a specific pod in a namespace:
kubectl describe pods {pod_name} -n {namespace}
- Show the details of a specific node in a namespace:
kubectl describe nodes {node_name} -n {namespace}
- Show details of Kubernetes objects defined in a YAML manifest:
kubectl describe -f {path/to/manifest}.yaml
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).