Difference between revisions of "Kubectl describe"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(43 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{lowercase}} |
+ | [[kubectl describe all -A]] | ||
+ | kubectl describe [[kubectl describe ingress|ingress]],svc,pods,cr,secrets | ||
+ | [[kubectl events -A]] | ||
− | + | Possible resource types include (case insensitive): <code>pods (po), [[services]] (svc), [[replicaset]] ([[rs]]) [[replicationcontrollers]] (rc), nodes (no), events (ev), [[limitranges]] (limits), [[persistentvolumes]] (pv), persistentvolumeclaims (pvc), resourcequotas (quota), namespaces (ns), [[serviceaccounts]], [[horizontalpodautoscalers]] (hpa), [[endpoints]] (ep) or [[secrets]]</code> | |
− | :<code> | ||
+ | * <code>[[kubectl]] describe</code> | ||
+ | * <code>[[kubectl describe --help]]</code> | ||
* <code>[[kubectl describe configmaps]] YOUR_CONFIG_MAP_NAME</code> | * <code>[[kubectl describe configmaps]] YOUR_CONFIG_MAP_NAME</code> | ||
− | * <code>[[kubectl describe]] [[secrets]]/MY_SECRET_NAME</code> | + | * <code>[[kubectl describe endpoints]]</code> |
− | * <code>[[kubectl describe]] | + | * <code>[[kubectl describe namespace]]</code> |
− | * <code>[[kubectl describe]] [[ | + | * <code>[[kubectl describe networkpolicy]]</code> |
+ | * <code>[[kubectl describe nodes]]</code> | ||
+ | * <code>[[kubectl describe pod]]</code> | ||
+ | * <code>[[kubectl describe pods]]</code> | ||
+ | * <code>[[kubectl describe pvc]]</code> | ||
+ | * <code>[[kubectl describe pv]]</code> | ||
+ | * <code>[[kubectl describe roles]]</code> | ||
+ | * <code>[[kubectl describe secrets]]/MY_SECRET_NAME</code> | ||
+ | * <code>[[kubectl describe storageclass]]</code> or <code>[[sc]]</code> | ||
+ | * <code>[[kubectl describe services]]</code> | ||
+ | * <code>[[kubectl describe svc]]</code> | ||
+ | * <code>[[kubectl describe deployment]] mysql</code> | ||
+ | * <code>[[kubectl describe virtualmachine.kubevirt.io/mitestvm]]</code> | ||
+ | * <code>[[kubectl describe vpa]]</code> | ||
+ | * <code>[[kubectl describe job]]</code> | ||
− | == | + | :<code>[[kubectl describe]]</code> |
− | * [[ | + | |
+ | :<code> error: You must specify the type of resource to describe. Use "[[kubectl api-resources]]" for a complete list of supported resources.</code> | ||
+ | |||
+ | == Related commands == | ||
+ | * <code>[[kubectl get all]]</code> | ||
+ | * <code>[[kubectl logs]]</code> | ||
+ | * <code>[[git describe]]</code> | ||
+ | * <code>[[kind:]]</code> | ||
== See also == | == See also == | ||
+ | * {{kubectl describe}} | ||
* {{kubectl}} | * {{kubectl}} | ||
* {{kubectl info}} | * {{kubectl info}} | ||
− | |||
− | |||
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Latest revision as of 08:30, 16 February 2024
kubectl describe all -A kubectl describe ingress,svc,pods,cr,secrets kubectl events -A
Possible resource types include (case insensitive): pods (po), services (svc), replicaset (rs) replicationcontrollers (rc), nodes (no), events (ev), limitranges (limits), persistentvolumes (pv), persistentvolumeclaims (pvc), resourcequotas (quota), namespaces (ns), serviceaccounts, horizontalpodautoscalers (hpa), endpoints (ep) or secrets
kubectl describe
kubectl describe --help
kubectl describe configmaps YOUR_CONFIG_MAP_NAME
kubectl describe endpoints
kubectl describe namespace
kubectl describe networkpolicy
kubectl describe nodes
kubectl describe pod
kubectl describe pods
kubectl describe pvc
kubectl describe pv
kubectl describe roles
kubectl describe secrets/MY_SECRET_NAME
kubectl describe storageclass
orsc
kubectl describe services
kubectl describe svc
kubectl describe deployment mysql
kubectl describe virtualmachine.kubevirt.io/mitestvm
kubectl describe vpa
kubectl describe job
error: You must specify the type of resource to describe. Use "kubectl api-resources" for a complete list of supported resources.
Related commands[edit]
See also[edit]
kubectl describe [ nodes | pods | deployment | pv | pvc | secrets | configmaps | networkpolicy | job ]
kubectl
: [cp | config | create
|delete
|edit | explain |
apply
|exec
|get
|set
|drain | uncordon | rolling-update
|rollout
|logs
|run
|auth
|label | annotate
|version
|top
|diff
|debug
|replace
|describe
|port-forward | proxy
|scale
|rollout
|api-resources
| expose deployment | expose | patch | attach | get endpoints | ~/.kube/config | kubectl logs --help | kubectl --help, kubectl-convert, kubectl autoscale, kubectl.kubernetes.io- Kubectl information commands:
cluster-info
|view
|pods
|nodes
|services
|version
|describe | logs
Advertising: