Difference between revisions of "AllowVolumeExpansion"

From wikieduonline
Jump to navigation Jump to search
Line 16: Line 16:
  
  
{{K8s sto}}
+
https://kubernetes.io/blog/2018/07/12/resizing-persistent-volumes-using-kubernetes/
 +
ExpandInUsePersistentVolumes. It is supported by the in-tree volume plugins GCE-PD, AWS-EBS, Cinder, and Ceph RB
 +
 
 +
 
 +
== See also ==
 +
* {{K8s sto}}
 +
 
 +
[[Category:K8s]]

Revision as of 09:33, 7 November 2022


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


https://www.gooksu.com/2022/08/how-to-increase-space-for-your-elasticsearch-instances-in-k8s-on-eck/


kubectl get storageclass
NAME                 PROVISIONER            RECLAIMPOLICY   VOLUMEBINDINGMODE   ALLOWVOLUMEEXPANSION   AGE
standard (default)   kubernetes.io/gce-pd   Delete          Immediate           false                  3y220d
NAME                 PROVISIONER             RECLAIMPOLICY   VOLUMEBINDINGMODE      ALLOWVOLUMEEXPANSION   AGE
standard (default)   kubernetes.io/gce-pd    Delete          Immediate              true                   461d


https://kubernetes.io/blog/2018/07/12/resizing-persistent-volumes-using-kubernetes/ ExpandInUsePersistentVolumes. It is supported by the in-tree volume plugins GCE-PD, AWS-EBS, Cinder, and Ceph RB


See also

Advertising: