Skip to content
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

feat: enable scaling for pools #35

Merged
merged 10 commits into from
Dec 20, 2023
Merged

feat: enable scaling for pools #35

merged 10 commits into from
Dec 20, 2023

Conversation

bavarianbidi
Copy link
Member

@bavarianbidi bavarianbidi commented Dec 11, 2023

together with some kind of an autoscaler, it's possible to scale minIdleRunners for a pool to a certain value

@bavarianbidi bavarianbidi force-pushed the scale_pools branch 2 times, most recently from 42b6183 to ba0bb5d Compare December 14, 2023 05:06
it's now possible to scale a pool via
k scale pool my-pool --replicas=0
command

If there are more idle Runners than defined in the spec
excess runners will get deleted
just to make pool_controller.go more readable, some generic funcs got
extracted into a dedicated pool util package

Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
bavarianbidi and others added 2 commits December 18, 2023 09:21
Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
@bavarianbidi bavarianbidi merged commit c0b6d9b into main Dec 20, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants