Difference between revisions of "Kubectl get storageclass"

From wikieduonline
Jump to navigation Jump to search
Line 11: Line 11:
  
 
[[GKE]]
 
[[GKE]]
 +
kubectl get storageclass
 
  NAME                PROVISIONER            RECLAIMPOLICY  VOLUMEBINDINGMODE  [[ALLOWVOLUMEEXPANSION]]  AGE
 
  NAME                PROVISIONER            RECLAIMPOLICY  VOLUMEBINDINGMODE  [[ALLOWVOLUMEEXPANSION]]  AGE
  [[standard]] (default)  kubernetes.io/[[gce-pd]]  Delete          Immediate          false                  3y220d
+
  [[standard]] (default)  [[kubernetes.io/gce-pd]]  Delete          Immediate          false                  3y220d
 +
 
 +
[[Minikube]]
 +
kubectl get storageclass
 +
NAME                PROVISIONER                RECLAIMPOLICY  VOLUMEBINDINGMODE  [[ALLOWVOLUMEEXPANSION]]  AGE
 +
standard (default)  [[k8s.io/minikube-hostpath]]  Delete          Immediate          false                  79d
 +
 
 +
 
  
 
  NAME                PROVISIONER            RECLAIMPOLICY  VOLUMEBINDINGMODE  ALLOWVOLUMEEXPANSION   
 
  NAME                PROVISIONER            RECLAIMPOLICY  VOLUMEBINDINGMODE  ALLOWVOLUMEEXPANSION   

Revision as of 20:55, 8 December 2022

 kubectl get storageclass
 kubectl get sc


EKS

kubectl get storageclass
NAME            PROVISIONER             RECLAIMPOLICY   VOLUMEBINDINGMODE      ALLOWVOLUMEEXPANSION   AGE
gp2 (default)   kubernetes.io/aws-ebs   Delete          WaitForFirstConsumer   false                  11d

GKE

kubectl get storageclass
NAME                 PROVISIONER            RECLAIMPOLICY   VOLUMEBINDINGMODE   ALLOWVOLUMEEXPANSION   AGE
standard (default)   kubernetes.io/gce-pd   Delete          Immediate           false                  3y220d

Minikube

kubectl get storageclass
NAME                 PROVISIONER                RECLAIMPOLICY   VOLUMEBINDINGMODE   ALLOWVOLUMEEXPANSION   AGE
standard (default)   k8s.io/minikube-hostpath   Delete          Immediate           false                  79d


NAME                 PROVISIONER            RECLAIMPOLICY   VOLUMEBINDINGMODE   ALLOWVOLUMEEXPANSION   
AGE
standard (default)   kubernetes.io/gce-pd   Delete          Immediate           true                   
2y357d
NAME                 PROVISIONER             RECLAIMPOLICY   VOLUMEBINDINGMODE      ALLOWVOLUMEEXPANSION   AGE
premium-rwo          pd.csi.storage.gke.io   Delete          WaitForFirstConsumer   true                   461d
standard (default)   kubernetes.io/gce-pd    Delete          Immediate              true                   461d
standard-rwo         pd.csi.storage.gke.io   Delete          WaitForFirstConsumer   true                   461d

Related

See also

Advertising: