Difference between revisions of "Kubectl get pvc"

From wikieduonline
Jump to navigation Jump to search
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 ==

Revision as of 12:24, 15 January 2024

Example

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
  • STORAGECLASS: standard, gp2, gp3, efs, aws-efs-shared-refactor


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

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

Errors

Related terms

See also

Advertising: