kubectl describe <TYPE | TYPE/NAME> [Resource]
Show details of a specific resource or group of resources
Arguments
Name | Description |
---|
TYPE | TYPE/NAME | |
Resource | |
Options
Name | Description |
---|
-f, --filename <File> | Filename, directory, or URL to files identifying the resource |
-k, --kustomize <Kustomize Dir> | Process the kustomization directory. This flag can't be used together with -f or -R |
-R, --recursive | Process the directory used in -f, --filename recursively. Useful when you want to manage related manifests organized within the same directory |
-l, --selector <arg> | Selector (label query) to filter on, not including uninitialized ones, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2) |
-A, --all-namespaces | If present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace |
--show-events | If true, display events related to the described object |