LinuxCommandLibrary

kubectl-describe

Show details of Kubernetes objects and resources.

TLDR

Show details of pods in a namespace

$ kubectl describe pods -n [namespace]
copy


Show details of nodes in a namespace
$ kubectl describe nodes -n [namespace]
copy


Show the details of a specific pod in a namespace
$ kubectl describe pods [pod_name] -n [namespace]
copy


Show the details of a specific node in a namespace
$ kubectl describe nodes [node_name] -n [namespace]
copy


Show details of Kubernetes objects defined in a YAML manifest
$ kubectl describe -f [path/to/manifest].yaml
copy

Copied to clipboard