Difference between revisions of "Kubectl describe storageclass"

From wikieduonline
Jump to navigation Jump to search
Line 28: Line 28:
 
   type: pd-balanced
 
   type: pd-balanced
  
 +
[[Play with K8s]]:
 
  [[kubectl describe]] storageclass -A
 
  [[kubectl describe]] storageclass -A
 
  [[No resources found]]
 
  [[No resources found]]

Revision as of 11:29, 20 March 2024

kubectl describe storageclass ebs-sc
kubectl describe storageclass efs-sc
kubectl describe storageclass gp2
kubectl describe storageclass gp3
kubectl describe storageclass standard
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

Play with K8s:

kubectl describe storageclass -A
No resources found


Related

See also

Advertising: