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

fix(Gitlab): remove unit from cpu limit in runner deployment #407

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

kosmoz
Copy link
Member

@kosmoz kosmoz commented Nov 6, 2023

We currently set the CPU limit to (concurrency * 1000)m CPUs, however the API does not return this requirement in the same way. It is translated to (concurrency * 1) (no unit), which leads to the deployment being needlessly updated too frequently.

With this change, the CPU limit is set to the same value returned by the API.

@kosmoz kosmoz requested a review from pmig November 6, 2023 12:38
@kosmoz kosmoz self-assigned this Nov 6, 2023
@kosmoz kosmoz force-pushed the kosmoz/fix-gitlab-runner-reconcile-endless-loop branch from baaf817 to 0aa279b Compare November 6, 2023 12:40
@pmig pmig merged commit e4ba289 into main Nov 6, 2023
3 checks passed
@pmig pmig deleted the kosmoz/fix-gitlab-runner-reconcile-endless-loop branch November 6, 2023 14:53
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.

2 participants