mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 12:45:59 +02:00
kubectl-describe: add page (#4494)
This commit is contained in:
parent
c86aa251bd
commit
00c6193ce5
1 changed files with 24 additions and 0 deletions
24
pages/common/kubectl-describe.md
Normal file
24
pages/common/kubectl-describe.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# kubectl describe
|
||||
|
||||
> Show details of Kubernetes objects and resources.
|
||||
> More information: <https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#describe>.
|
||||
|
||||
- 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`
|
Loading…
Add table
Reference in a new issue