-
Notifications
You must be signed in to change notification settings - Fork 7
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
Support for using different storage classes than bulk #102
Comments
I think one important aspect of this feature is to avoid k8s leaking through the Lagoon abstraction. So for example don't have |
This could work too, but needs to be configurable by operators of a Lagoon too. |
Basically if an AWS lagoon operation team uses the EFS CSI and hits the 120access point limit on the bulk storage class, they need to be able to easily create a new storage class that can then be added to projects/environments. Whether that is abstracted to |
May need to solve part of this in the API too |
Relevant conversations:
|
potentially, "bulk" should just be a placeholder, and let the remote-controller allocate it to an available, suitable storageclass, and create a new one if needed (or round-robin?) |
I thought about this too, but the logic behind it 🤯 |
ok possible solution direction:
|
In some cases, some projects or environments may want to use a different storage class other than bulk. The AWS EFS CSI seems to have a limitation of 120 access points, so being able to create a new storage class to use could be nice. But Lagoon has no way of allowing this to be changed currently.
We have some commented out block that allowed for changing the storage class, but some point in the past this has been removed
https://github.com/uselagoon/build-deploy-tool/blob/main/legacy/build-deploy-docker-compose.sh#L1282-L1285
Need to think about this from a few viewpoints though, if in the future we decide to enable multiple PVs per service, this new implementation needs to be able to support this easily enough.
I've got some ideas that I will jot down in a follow up comment, but would be nice to get some other input too.
Follow up documentation that calls out the docker-compose label for changing this:
https://docs.lagoon.sh/using-lagoon-the-basics/docker-compose-yml/#persistent-storage
The text was updated successfully, but these errors were encountered: