Difference between revisions of "Kubectl get pv"

From wikieduonline
Jump to navigation Jump to search
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
kubectl get pv
 +
[[kubectl get pv -A]]
  
 
  kubectl get pv
 
  kubectl get pv
 
  [[No resources found]]
 
  [[No resources found]]
 +
 +
k get pv
 +
NAME    CAPACITY        ACCESS MODES  RECLAIM POLICY  STATUS  [[CLAIM]]    [[STORAGECLASS]]    REASON  AGE
  
  
 
  [[kubectl get pvc]]
 
  [[kubectl get pvc]]
 +
NAME                                              STATUS    VOLUME  CAPACITY  ACCESS MODES  STORAGECLASS  AGE
 +
persistentvolumeclaim/myprometheus-alertmanager  Pending                                      [[gp2]]            9h
 +
persistentvolumeclaim/myprometheus-server        Pending                                      gp2            9h
 +
 +
==  Related ==
 +
* <code>[[kubectl get pv,pvc]]</code>
 +
* <code>[[kubectl describe storageclass]]</code>
 +
* <code>[[kubectl describe pv]]</code>
 +
 +
== See also ==
 +
* {{PVC}}
 +
 +
[[Category:Kubernetes]]

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: