Difference between revisions of "Kubectl describe storageclass standard"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions 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
  AllowVolumeExpansion:  True
+
  [[AllowVolumeExpansion]]:  True
 
  MountOptions:          <none>
 
  MountOptions:          <none>
 
  ReclaimPolicy:        Delete
 
  ReclaimPolicy:        Delete
Line 19: Line 19:
 
  Provisioner:          [[kubernetes.io/gce-pd]]
 
  Provisioner:          [[kubernetes.io/gce-pd]]
 
  Parameters:            type=pd-standard
 
  Parameters:            type=pd-standard
  AllowVolumeExpansion:  <unset>
+
  [[AllowVolumeExpansion]]:  <unset>
 
  MountOptions:          <none>
 
  MountOptions:          <none>
 
  ReclaimPolicy:        Delete
 
  ReclaimPolicy:        Delete
 
  VolumeBindingMode:    Immediate
 
  VolumeBindingMode:    Immediate
 
  Events:                <none>
 
  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 ==
 
== 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: