Difference between revisions of "Kubectl get pvc"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
* <code>[[kubectl get pvc -A]]</code>
 
* <code>[[kubectl get pvc -A]]</code>
  
* [[STATUS]]: [[Bound]], [[Lost]], [[Pending]]
+
* [[STATUS]]: <code>[[Bound]], [[Lost]], [[Pending]]</code>
  
 
== Example ==
 
== Example ==
Line 16: Line 16:
 
  your.name        Lost                                        efs            3m19s
 
  your.name        Lost                                        efs            3m19s
  
* [[STORAGECLASS]]: <code>standard, gp2, gp3, efs, aws-efs-shared-refactor</code>
+
* [[STORAGECLASS]]: <code>standard, [[gp2]], [[gp3]], [[efs]], [[aws-efs-shared-refactor]]</code>
  
  
Line 57: Line 57:
  
 
== See also ==
 
== See also ==
 +
* {{kubectl get pvc}}
 
* {{PVC}}
 
* {{PVC}}
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

Latest revision as of 12:27, 15 January 2024

Example[edit]

kubectl get pvc
NAME           STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   AGE
mygrafanapvc   Bound    pvc-263be894-08de-41ac-b5ba-8fa7e2bfedba   10Gi       RWO            standard       12m


NAME            STATUS   VOLUME   CAPACITY   ACCESS MODES   STORAGECLASS   AGE
your.name        Lost                                        efs            3m19s


kubectl get pvc
NAME                STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   AGE
data-my-mariadb-0   Bound    pvc-a4651095-b218-4625-86eb-bc5e335dd200   8Gi        RWO            efs            42h

EKS[edit]

kubectl get pvc
NAME                STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   AGE
data-my-mariadb-0   Bound    pvc-a4651095-b218-4625-86eb-bc5e335dd200   8Gi        RWO            gp2            22h
grafana             Bound    pvc-e963fe39-b029-4b26-98ca-c514a3138345   10Gi       RWO            gp3            4h30m
kubectl get pvc
NAME                     STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   AGE
elasticsearch-master-0   Bound    pvc-db941c9a-204a-4e66-aa7b-bc5e335dd200   30Gi       RWO            gp2            123m
elasticsearch-master-1   Bound    pvc-4c3f5dfa-96d9-4817-9135-c514a3138345   30Gi       RWO            gp2            123m


kubectl get pvc
NAME                        STATUS    VOLUME   CAPACITY   ACCESS MODES   STORAGECLASS   AGE
myprometheus-alertmanager   Pending                                      gp2            58m
myprometheus-server         Pending                                      gp2            58m

Activities[edit]

Errors[edit]

Related terms[edit]

See also[edit]

Advertising: