Difference between revisions of "Kubectl describe storageclass"

From wikieduonline
Jump to navigation Jump to search
Line 32: Line 32:
 
  metadata:
 
  metadata:
 
   name: pd-example
 
   name: pd-example
  provisioner: pd.csi.storage.gke.io
+
  provisioner: [[pd.csi]].storage.gke.io
 
  volumeBindingMode: WaitForFirstConsumer
 
  volumeBindingMode: WaitForFirstConsumer
 
  allowVolumeExpansion: true
 
  allowVolumeExpansion: true

Revision as of 12:26, 4 July 2022

kubectl describe storageclass ebs-sc

kubectl describe storageclass gp2
kubectl describe storageclass
Name:            gp2
IsDefaultClass:  Yes
Annotations:     kubectl.kubernetes.io/last-applied-configuration={"apiVersion":"storage.k8s.io/v1","kind":"StorageClass","metadata":{"annotations": {"storageclass.kubernetes.io/is-default-class":"true"},"name":"gp2"},"parameters":{"fsType":"ext4","type":"gp2"},"provisioner":"kubernetes.io/aws-ebs","volumeBindingMode":"WaitForFirstConsumer"},storageclass.kubernetes.io/is-default-class=true
Provisioner:           kubernetes.io/aws-ebs
Parameters:            fsType=ext4,type=gp2
AllowVolumeExpansion:  <unset>
MountOptions:          <none>
ReclaimPolicy:         Delete
VolumeBindingMode:     WaitForFirstConsumer
Events:                <none>
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



Related

See also

Advertising: