Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@cent-gluster-workstation ~]# kubectl describe pv gluster-vol1
- Error from server (NotFound): persistentvolumes "gluster-vol1" not found
- [root@cent-gluster-workstation ~]# kubectl describe pvc gluster-dyn-pvc
- Name: gluster-dyn-pvc
- Namespace: default
- StorageClass: gluster-dyn
- Status: Bound
- Volume: pvc-9d2c54c9-91fa-11e7-a8bd-023b4cbc4fdd
- Labels: <none>
- Annotations: pv.kubernetes.io/bind-completed=yes
- pv.kubernetes.io/bound-by-controller=yes
- volume.beta.kubernetes.io/storage-class=gluster-dyn
- volume.beta.kubernetes.io/storage-provisioner=kubernetes.io/glusterfs
- Capacity: 3Gi
- Access Modes: RWX
- Events: <none>
- Also, from Kubernetes Dashboard, under 'Persistent Volumes', there is an entry for 'pvc-9d2c54c9-91fa-11e7-a8bd-023b4cbc4fdd'
- [root@cent-gluster-workstation ~]# kubectl describe pv pvc-9d2c54c9-91fa-11e7-a8bd-023b4cbc4fdd
- Name: pvc-9d2c54c9-91fa-11e7-a8bd-023b4cbc4fdd
- Labels: <none>
- Annotations: Description=Gluster: Dynamically provisioned PV
- gluster.org/type=file
- kubernetes.io/createdby=heketi-dynamic-provisioner
- pv.beta.kubernetes.io/gid=2000
- pv.kubernetes.io/bound-by-controller=yes
- pv.kubernetes.io/provisioned-by=kubernetes.io/glusterfs
- volume.beta.kubernetes.io/mount-options=auto_unmount
- StorageClass: gluster-dyn
- Status: Bound
- Claim: default/gluster-dyn-pvc
- Reclaim Policy: Delete
- Access Modes: RWX
- Capacity: 3Gi
- Message:
- Source:
- Type: Glusterfs (a Glusterfs mount on the host that shares a pod's lifetime)
- EndpointsName: glusterfs-dynamic-gluster-dyn-pvc
- Path: vol_24a6778f7cd18eebe20fa9254a0c8b3a
- ReadOnly: false
- Events: <none>
- [root@cent-gluster-workstation ~]# kubectl get pvc gluster-dyn-pvc
- NAME STATUS VOLUME CAPACITY ACCESSMODES STORAGECLASS AGE
- gluster-dyn-pvc Bound pvc-9d2c54c9-91fa-11e7-a8bd-023b4cbc4fdd 3Gi RWX gluster-dyn 3d
Add Comment
Please, Sign In to add comment