vitess-operator icon indicating copy to clipboard operation
vitess-operator copied to clipboard

add flag --enable_online_fs_expansion: control whether pods that refe…

Open huangzhiyong opened this issue 3 years ago • 3 comments

…rence the resized volume need to be restarted.

Kubernetes v1.11 also introduces an alpha feature called online file system expansion. This feature enables file system expansion while a volume is still in-use by a pod. Because this feature is alpha, it requires enabling the feature gate, ExpandInUsePersistentVolumes. It is supported by the in-tree volume plugins GCE-PD, AWS-EBS, Cinder, and Ceph RBD. When this feature is enabled, pod referencing the resized volume do not need to be restarted. Instead, the file system will automatically be resized while in use as part of volume expansion. File system expansion does not happen until a pod references the resized volume, so if no pods referencing the volume are running file system expansion will not happen.

huangzhiyong avatar Dec 09 '21 08:12 huangzhiyong

#237

huangzhiyong avatar Dec 09 '21 08:12 huangzhiyong

The DCO needs to be fixed. If the reviewers like the change, we can run CI.

deepthi avatar Dec 09 '21 17:12 deepthi

DCO -> fixed

huangzhiyong avatar Dec 10 '21 09:12 huangzhiyong