Difference between revisions of "Kubectl describe storageclass"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
[[kubectl describe storageclass standard]] | [[kubectl describe storageclass standard]] | ||
+ | == Examples == | ||
[[kubectl describe]] storageclass | [[kubectl describe]] storageclass | ||
Name: standard | Name: standard | ||
Line 28: | Line 29: | ||
type: pd-balanced | type: pd-balanced | ||
+ | kubectl describe storageclass my-efs | ||
+ | Name: my-efs | ||
+ | IsDefaultClass: No | ||
+ | Annotations: [[kubectl.kubernetes.io/last-applied-configuration]]={"apiVersion":"storage.k8s.io/v1","kind":"StorageClass","metadata":{"annotations":{},"name":"my-efs"},"mountOptions":["[[tls]]","[[iam]]"],"parameters":{"[[basePath]]":"/dynamic_provisioning","directoryPerms":"700","fileSystemId":"fs-00xxxxx","[[provisioningMode]]":"efs-ap"},"provisioner":"[[efs.csi.aws.com]]","[[reclaimPolicy]]":"Retain","[[volumeBindingMode]]":"WaitForFirstConsumer"} | ||
+ | |||
+ | Provisioner: [[efs.csi.aws.com]] | ||
+ | Parameters: basePath=/dynamic_provisioning,directoryPerms=700,fileSystemId=fs-00xxxxxx,provisioningMode=efs-ap | ||
+ | AllowVolumeExpansion: <unset> | ||
+ | MountOptions: | ||
+ | tls | ||
+ | iam | ||
+ | ReclaimPolicy: Retain | ||
+ | VolumeBindingMode: WaitForFirstConsumer | ||
+ | Events: <none> | ||
+ | |||
+ | |||
+ | == Errors == | ||
[[Play with K8s]]: | [[Play with K8s]]: | ||
[[kubectl describe]] storageclass -A | [[kubectl describe]] storageclass -A |
Revision as of 12:29, 24 October 2024
kubectl describe storageclass ebs-sc kubectl describe storageclass efs-sc kubectl describe storageclass gp2 kubectl describe storageclass gp3 kubectl describe storageclass standard
Contents
Examples
kubectl describe storageclass Name: standard IsDefaultClass: Yes Annotations: storageclass.beta.kubernetes.io/is-default-class=true Provisioner: kubernetes.io/gce-pd Parameters: type=pd-standard AllowVolumeExpansion: <unset> MountOptions: <none> ReclaimPolicy: Delete VolumeBindingMode: Immediate Events: <none>
apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: pd-example provisioner: pd.csi.storage.gke.io volumeBindingMode: WaitForFirstConsumer allowVolumeExpansion: true parameters: type: pd-balanced
kubectl describe storageclass my-efs Name: my-efs IsDefaultClass: No Annotations: kubectl.kubernetes.io/last-applied-configuration={"apiVersion":"storage.k8s.io/v1","kind":"StorageClass","metadata":{"annotations":{},"name":"my-efs"},"mountOptions":["tls","iam"],"parameters":{"basePath":"/dynamic_provisioning","directoryPerms":"700","fileSystemId":"fs-00xxxxx","provisioningMode":"efs-ap"},"provisioner":"efs.csi.aws.com","reclaimPolicy":"Retain","volumeBindingMode":"WaitForFirstConsumer"}
Provisioner: efs.csi.aws.com Parameters: basePath=/dynamic_provisioning,directoryPerms=700,fileSystemId=fs-00xxxxxx,provisioningMode=efs-ap AllowVolumeExpansion: <unset> MountOptions: tls iam ReclaimPolicy: Retain VolumeBindingMode: WaitForFirstConsumer Events: <none>
Errors
kubectl describe storageclass -A No resources found
Related
kubectl get pvc
kubectl describe pvc
kubectl get storageclass
- Amazon EBS CSI driver:
aws-ebs-csi-driver
See also
- 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: