Difference between revisions of "Kubectl get pvc"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
+ | |||
+ | |||
+ | === Example === | ||
[[kubectl get]] pvc | [[kubectl get]] pvc | ||
NAME [[STATUS]] VOLUME CAPACITY ACCESS MODES [[STORAGECLASS]] AGE | NAME [[STATUS]] VOLUME CAPACITY ACCESS MODES [[STORAGECLASS]] AGE | ||
mygrafanapvc Bound pvc-263be894-08de-41ac-b5ba-8fa7e2bfedba 10Gi [[RWO]] standard 12m | mygrafanapvc Bound pvc-263be894-08de-41ac-b5ba-8fa7e2bfedba 10Gi [[RWO]] standard 12m | ||
− | + | ||
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE | NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE | ||
your.name Lost efs 3m19s | your.name Lost efs 3m19s |
Revision as of 11:45, 12 January 2024
Contents
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
Related terms
kubectl describe pvc mysql-pv-claim
kubectl describe pvc
kubectl get pvc
kubectl get pv
kubectl describe events
kubectl get volumesnapshot
kubectl get storageclass
running PreBind plugin "VolumeBinding": binding volumes: timed out waiting for the condition
See also
Advertising: