Difference between revisions of "Kubectl describe storageclass standard"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
  Name:                  standard
 
  Name:                  standard
 
  IsDefaultClass:        Yes
 
  IsDefaultClass:        Yes
  Annotations:          storageclass.kubernetes.io/is-default-class=true
+
  [[Annotations:]]           storageclass.kubernetes.io/is-default-class=true
 
  Provisioner:          [[kubernetes.io/gce-pd]]
 
  Provisioner:          [[kubernetes.io/gce-pd]]
 
  Parameters:            type=pd-standard
 
  Parameters:            type=pd-standard
Line 26: Line 26:
  
  
  [[kubectl patch pvc elasticsearch-master-elasticsearch-master-0]] -p '{"spec":{"resources":{"requests":{"storage":"35Gi"}}}}'
+
  [[kubectl patch pvc]] elasticsearch-master-elasticsearch-master-0 -p '{"spec":{"resources":{"requests":{"storage":"35Gi"}}}}'
 +
persistentvolumeclaim/elasticsearch-master-elasticsearch-master-0 patched
  
 
== See also ==
 
== See also ==

Latest revision as of 09:08, 7 November 2022

kubectl describe storageclass standard
Name:                  standard
IsDefaultClass:        Yes
Annotations:           storageclass.kubernetes.io/is-default-class=true
Provisioner:           kubernetes.io/gce-pd
Parameters:            type=pd-standard
AllowVolumeExpansion:  True
MountOptions:          <none>
ReclaimPolicy:         Delete
VolumeBindingMode:     Immediate
Events:                <none>
kubectl describe storageclass standard
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>


kubectl patch pvc elasticsearch-master-elasticsearch-master-0 -p '{"spec":{"resources":{"requests":{"storage":"35Gi"}}}}'
persistentvolumeclaim/elasticsearch-master-elasticsearch-master-0 patched

See also[edit]

Advertising: