commands.sh

kubectl describe

all

Show details of Kubernetes resources.

More info →

Options (4)

boolean

Show details of pods in a namespace

Example: kubectl describe {{[po|pods]}} {{[-n|--namespace]}} {{namespace}}
-n, --namespaceboolean

Show details of pods in a namespace

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

Show details of nodes in a namespace

Example: kubectl describe {{[no|nodes]}} {{[-n|--namespace]}} {{namespace}}
-f, --filenameboolean

Show details of Kubernetes objects defined in a YAML manifest file

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

Examples (5)

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
made by @shridhargupta | data from tldr-pages