-
Notifications
You must be signed in to change notification settings - Fork 150
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
Create new lagoon type "worker" for long operating processes #2525
Comments
Would be cool to be able to also have this be extendable with a custom port
And these would be injected into the template with conditions for the For the probe overrides, it would probably be good to have some sane maximums. This could also then possibly be used for #2528 |
I agree - having a configurable internal port (still no ingress) would make it ultimately more configurable. |
mhh how about we make it completely customizable and allow developers to inject helm variables via Lagoon?
one thing though:
|
@Schnitzel if the variables didn't live in |
Could this be applied to all helmcharts and not just this specific one? The purpose of this chart is to define an always-running non-ingress type, instead of abusing the cli type - making this chart too flexible would leave it open to misuse as well! |
Currently, Lagoon projects that have long running (non-web) processes use the
cli
Lagoon type to run these processes in. This is not optimal, as the cli type should be reserved for short-running, instant spin-up type uses.We are proposing to add an additional type
worker
and correspondingworker-persistent
type to Lagoon. The main aim of these types is to accommodate projects that have long-running, persistent, and non-web-facing processes. Where a project contains a worker type and needs cronjobs - these cronjobs would be run inside the worker pod instead of a separate cron pod.The main benefit of this is that cli pods can be idled when they are not in use, reducing load on a cluster, and can be treated appropriately during scaling or node-shuffling events. This will also mean that projects can operate their web-facing containers as lean as possible, offloading backend processing or interactive tasks to an additional pod, with specialist tooling.
The text was updated successfully, but these errors were encountered: