-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use LVM storage operator for dynamic PV provisioning #4117
Comments
Looks like you forget to attach the issue number. I personally think second method is much better because it will educate user about how it is enabled in a OpenShift cluster and also we don't have to worry about the changes which might happen during major release. |
I don't think we should keep both lvm-operator and hostpath-provisioner. We pick one, and we maintain that. Easier for testing, easier for users who don't care about storage operators, ... |
supporting both makes it complicated for the user, and as using currently we could look at moving the topolvm partition to the end of the disk after a disk-size increase and then increase the root parition (seems using |
pulled images are stored in the dir |
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 setuplvm-operator
We need to make a decision whether to make the
lvm-operator
the default one and removehostpath-provisioner
, the behavior of expanding disk space using the config settingdisk-size
will change if we move tolvm-operator
as in that casedisk-size
will refer to theroot
partition sizeto 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 withhostpath-provisioner
:First method
enable-lvm-operator
use-lvm-operator
with default valuefalse
to allow users to make a choice of which operator they want to usetrue
theLVMCluster
CR will be created and the extra partition will be used for PVfalse
theroot
partition is extended to take up the space from the extra partition (and optionally also delete the operator installation or scale down the deployments as theoperatorgroup
andsubscription
objects are created duringsnc
)Second method
enable-lvm-operator
with default valuefalse
to allow users to make a choice of which operator they want to usetrue
the extra partition will not be merged with theroot
partition and user has to follow the guide on openshift docs to setup/install the LVM operator on their ownfalse
the extra partition is merged into theroot
partitionThe text was updated successfully, but these errors were encountered: