...
Code Block |
---|
language | bash |
---|
theme | Confluence |
---|
|
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
dev-appc-data-dev-appc-0 Bound pvc-472a9868-b5e7-11e8-ab3b-028b3e95b074 2Gi RWO glusterfs-sc 2h
dev-appc-db-mysql-dev-appc-db-0 Bound pvc-4724df2b-b5e7-11e8-ab3b-028b3e95b074 2Gi RWO glusterfs-sc 2h |
Ensure your pods are running and bound to your persistent volume:
e.g.
Code Block |
---|
|
kubectl describe pod dev-appc-db-0 --namespace onap |
Make sure the pod is "Status: Running" and it is using the persistent volume that is associated with your storageClass:
Code Block |
---|
language | bash |
---|
theme | Confluence |
---|
|
Name: dev-appc-db-0
Namespace: onap
Node: k8s-steve-1/10.0.0.29
Start Time: Tue, 11 Sep 2018 17:23:09 +0000
...snip...
Status: Running
...snip...
Volumes:
dev-appc-db-mysql:
Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
ClaimName: dev-appc-db-mysql-dev-appc-db-0
ReadOnly: false
...snip.... |