Difference between revisions of "Kubectl get storageclass"
Jump to navigation
Jump to search
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | |||
[[kubectl get]] [[storageclass]] | [[kubectl get]] [[storageclass]] | ||
[[kubectl get]] [[sc]] | [[kubectl get]] [[sc]] | ||
+ | |||
+ | * <code>[[gp2]], [[gp3]], [[standard]], [[ebs-sc]], [[efs-sc]]</code> | ||
[[EKS]] | [[EKS]] | ||
[[kubectl get]] [[storageclass]] | [[kubectl get]] [[storageclass]] | ||
− | NAME [[PROVISIONER]] RECLAIMPOLICY [[VOLUMEBINDINGMODE]] [[ALLOWVOLUMEEXPANSION]] AGE | + | NAME [[PROVISIONER]] [[RECLAIMPOLICY]] [[VOLUMEBINDINGMODE]] [[ALLOWVOLUMEEXPANSION]] AGE |
− | [[gp2]] (default) kubernetes.io/ | + | [[gp2]] (default) [[kubernetes.io/aws-ebs]] Delete [[WaitForFirstConsumer]] false 11d |
[[GKE]] | [[GKE]] | ||
Line 31: | Line 32: | ||
standard (default) [[kubernetes.io/gce-pd]] Delete Immediate true 461d | standard (default) [[kubernetes.io/gce-pd]] Delete Immediate true 461d | ||
standard-rwo pd.csi.storage.gke.io Delete WaitForFirstConsumer true 461d | standard-rwo pd.csi.storage.gke.io Delete WaitForFirstConsumer true 461d | ||
+ | |||
+ | |||
+ | [[kubectl get]] storageclass | ||
+ | NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE | ||
+ | myname1 [[ebs.csi.aws.com]] Delete WaitForFirstConsumer true 35d | ||
+ | myname2 [[efs.csi.aws.com]] Delete Immediate true 34d | ||
+ | myname3 efs.csi.aws.com Delete Immediate true 34d | ||
+ | myname4 efs.csi.aws.com Delete Immediate true 33d | ||
+ | gp2 [[kubernetes.io/aws-ebs]] Delete WaitForFirstConsumer false 179d | ||
== Related == | == Related == | ||
Line 36: | Line 46: | ||
* <code>[[kubectl get pvc]]</code> | * <code>[[kubectl get pvc]]</code> | ||
* <code>[[--addons=GcePersistentDiskCsiDriver]]</code> | * <code>[[--addons=GcePersistentDiskCsiDriver]]</code> | ||
+ | * <code>[[kubectl get ingressclass]]</code> | ||
== See also == | == See also == |
Latest revision as of 16:27, 29 February 2024
kubectl get storageclass kubectl get sc
kubectl get storageclass NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE gp2 (default) kubernetes.io/aws-ebs Delete WaitForFirstConsumer false 11d
kubectl get storageclass NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE standard (default) kubernetes.io/gce-pd Delete Immediate false 3y220d
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
kubectl get storageclass NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE myname1 ebs.csi.aws.com Delete WaitForFirstConsumer true 35d myname2 efs.csi.aws.com Delete Immediate true 34d myname3 efs.csi.aws.com Delete Immediate true 34d myname4 efs.csi.aws.com Delete Immediate true 33d gp2 kubernetes.io/aws-ebs Delete WaitForFirstConsumer false 179d
Related[edit]
kubectl describe storageclass
kubectl get pvc
--addons=GcePersistentDiskCsiDriver
kubectl get ingressclass
See also[edit]
- EKS storage, Amazon EBS CSI driver, Amazon EFS CSI driver,
kubectl describe storageclass
- Kubernetes storage, storage classes, PersistentVolume (PV), PVC, CSI,
kind: StorageClass, kind: PersistentVolumeClaim, kind: PersistentVolume
,kubectl [ get | describe | edit ] pvc
,volumeClaimTemplates:
,kubectl patch pv
,FailedMount
, Volume Expansion, Volume Cloning, snapshots, ExtraVolumes, NotTriggerScaleUp,volumePVCDataSource, AllowVolumeExpansion
, EKS storage, provisioner, Storage Capacity Tracking,VolumeBinding, VolumeClaimTemplate, storage.k8s.io
, CKA Storage, DoKC, EmptyDir, Volume populators,storageclass.kubernetes.io
Advertising: