kubectl get pvc

From wikieduonline
Jump to navigation Jump to search

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


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            gp2            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

Related terms

kubectl get pv
running PreBind plugin "VolumeBinding": binding volumes: timed out waiting for the condition

See also

Advertising: