- 
                Notifications
    You must be signed in to change notification settings 
- Fork 256
Description
Currently we are using the hostpath-provisioner for dynamic pv creation, however since it has limited functionality work is being done in crc-org/snc#877, crc-org/snc#869 and #4114 to install and setup lvm-operator
We need to make a decision whether to make the lvm-operator the default one and remove hostpath-provisioner, the behavior of expanding disk space using the config settingdisk-size will change if we move to lvm-operator as in that case disk-size will refer to the root partition size
to increase the space for PVs user has to use the config option persistent-volume-size
while talking with @praveenkumar he suggested the following to avoid any behavior change for users who don't want to use lvm-operator and are happy with hostpath-provisioner:
First method
- Introduce a new config enable-lvm-operatoruse-lvm-operatorwith default valuefalseto allow users to make a choice of which operator they want to use
- When this config is enabled/set to truetheLVMClusterCR will be created and the extra partition will be used for PV
- When this config is disabled/set to falsetherootpartition is extended to take up the space from the extra partition (and optionally also delete the operator installation or scale down the deployments as theoperatorgroupandsubscriptionobjects are created duringsnc)
Second method
- Introduce a new config enable-lvm-operatorwith default valuefalseto allow users to make a choice of which operator they want to use
- When this config is enabled/set to truethe extra partition will not be merged with therootpartition and user has to follow the guide on openshift docs to setup/install the LVM operator on their own
- When this config is disabled/set to falsethe extra partition is merged into therootpartition
Metadata
Metadata
Assignees
Labels
Type
Projects
Status