Skip to content

Instantly share code, notes, and snippets.

@thiagoeh
Last active May 19, 2020 21:10
Show Gist options
  • Select an option

  • Save thiagoeh/d69e9eb43536cda1e2ab47c79c099cde to your computer and use it in GitHub Desktop.

Select an option

Save thiagoeh/d69e9eb43536cda1e2ab47c79c099cde to your computer and use it in GitHub Desktop.
Working with PersistentVolume and PersistentVolumeClaim in Kubernetes
kubectl get storageclass
NAME PROVISIONER AGE
efs-performance flexvolume-huawei.com/fuxiefs 102m
efs-standard flexvolume-huawei.com/fuxiefs 102m
nfs-rw flexvolume-huawei.com/fuxinfs 102m
obs-standard flexvolume-huawei.com/fuxiobs 102m
obs-standard-ia flexvolume-huawei.com/fuxiobs 102m
sas flexvolume-huawei.com/fuxivol 102m
sata flexvolume-huawei.com/fuxivol 102m
ssd flexvolume-huawei.com/fuxivol 102m
kubectl get persistentvolumes --all-namespaces
kubectl get pv --all-namespaces
watch "kubectl get pvc && echo && kubectl get pv"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment