tldr/pages/common/kubectl-describe.md
Sebastiaan Speck 7510205497
pages/*: fix small typos (#11831)
* pages/*: fix small typos

* Update ssh-copy-id.md

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* ansible-inventory: fix typo

* Update pages/linux/zathura.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* gcloud: fix typo

* fdesetup: mark as placeholder

* icalbuddy: use general placeholder

* ip: make it a placeholder

* git-svn: fix typo

* pages/*: fix typos

* kubectl-get: add mnemonics and long options

* kubectl-describe: add mnemonics and long options

* pip-install: use short option

* Update icalbuddy.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2023-12-27 11:52:49 +05:30

733 B

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 [n]amespace:

kubectl describe pods --namespace {{namespace}}

  • Show details of nodes in a [n]amespace:

kubectl describe nodes --namespace {{namespace}}

  • Show the details of a specific pod in a [n]amespace:

kubectl describe pods {{pod_name}} --namespace {{namespace}}

  • Show the details of a specific node in a [n]amespace:

kubectl describe nodes {{node_name}} --namespace {{namespace}}

  • Show details of Kubernetes objects defined in a YAML manifest [f]ile:

kubectl describe --file {{path/to/manifest.yaml}}