Difference between revisions of "StorageClass"

From wikieduonline
Jump to navigation Jump to search
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 +
<code>[[kind: StorageClass]]</code>
 +
* https://kubernetes.io/docs/concepts/storage/storage-classes/
  
[[kind: StorageClass]]
+
== [[EKS]] ==
 
+
  [[kubectl get storageclass]]
[[EKS]]
 
  [[kubectl get]] [[storageclass]]
 
 
  NAME            [[PROVISIONER]]            RECLAIMPOLICY  VOLUMEBINDINGMODE      [[ALLOWVOLUMEEXPANSION]]  AGE
 
  NAME            [[PROVISIONER]]            RECLAIMPOLICY  VOLUMEBINDINGMODE      [[ALLOWVOLUMEEXPANSION]]  AGE
 
  [[gp2]] (default)  kubernetes.io/[[aws-ebs]]  Delete          WaitForFirstConsumer  false                  11d
 
  [[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
 +
  
 
== Related ==
 
== Related ==
* <code>[[kubectl api-resources]]</code>
+
* <code>[[kubectl api-resources]] | grep storage</code>
 
* [[Kubernetes provisioner]]
 
* [[Kubernetes provisioner]]
 +
* <code>[[kubectl describe storageclass]]</code>
 +
* <code>[[ProvisioningFailed]] [[Failed to provision volume with StorageClass]]</code>
 +
* <code>[[aws-ebs-csi-driver]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 11:36, 9 February 2024

kind: StorageClass

EKS[edit]

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

GKE[edit]

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


Related[edit]

See also[edit]

Advertising: