Difference between revisions of "Kubectl get pv"

From wikieduonline
Jump to navigation Jump to search
 
Line 18: Line 18:
 
* <code>[[kubectl get pv,pvc]]</code>
 
* <code>[[kubectl get pv,pvc]]</code>
 
* <code>[[kubectl describe storageclass]]</code>
 
* <code>[[kubectl describe storageclass]]</code>
 +
* <code>[[kubectl describe pv]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 11:57, 12 January 2024

kubectl get pv
kubectl get pv -A
kubectl get pv
No resources found
k get pv
NAME     CAPACITY        ACCESS MODES   RECLAIM POLICY   STATUS   CLAIM     STORAGECLASS    REASON   AGE


kubectl get pvc
NAME                                              STATUS    VOLUME   CAPACITY   ACCESS MODES   STORAGECLASS   AGE
persistentvolumeclaim/myprometheus-alertmanager   Pending                                      gp2            9h
persistentvolumeclaim/myprometheus-server         Pending                                      gp2            9h

Related[edit]

See also[edit]

Advertising: