Difference between revisions of "Kubectl describe"

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Draft}}
 
 
{{lowercase}}
 
{{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), [[replicationcontrollers]] (rc), nodes (no), events (ev), [[limitranges]] (limits), [[persistentvolumes]] (pv), persistentvolumeclaims (pvc), resourcequotas (quota), namespaces (ns), [[serviceaccounts]], [[horizontalpodautoscalers]] (hpa), [[endpoints]] (ep) or [[secrets]]</code>
+
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>[[kubectl]] describe</code>
 
* <code>[[kubectl]] describe</code>
Line 22: Line 24:
 
* <code>[[kubectl describe deployment]] mysql</code>
 
* <code>[[kubectl describe deployment]] mysql</code>
 
* <code>[[kubectl describe  virtualmachine.kubevirt.io/mitestvm]]</code>
 
* <code>[[kubectl describe  virtualmachine.kubevirt.io/mitestvm]]</code>
 +
* <code>[[kubectl describe vpa]]</code>
 
* <code>[[kubectl describe job]]</code>
 
* <code>[[kubectl describe job]]</code>
  
Line 30: Line 33:
 
== Related commands ==
 
== Related commands ==
 
* <code>[[kubectl get all]]</code>
 
* <code>[[kubectl get all]]</code>
 +
* <code>[[kubectl logs]]</code>
 
* <code>[[git describe]]</code>
 
* <code>[[git describe]]</code>
 +
* <code>[[kind:]]</code>
  
 
== See also ==
 
== See also ==

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
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]

Advertising: