Skip to content

Commit

Permalink
fix(Gitlab): remove unit from cpu limit in runner deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
kosmoz authored and pmig committed Nov 6, 2023
1 parent d8d7415 commit e4ba289
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class GitlabRunnerDeployment : CRUDKubernetesDependentResource<Deployment, Gitla
memory = Quantity((primary.spec.concurrency * 100).toString(), "Mi")
)
limits(
cpu = Quantity((primary.spec.concurrency * 1000).toString(), "m"),
cpu = Quantity(primary.spec.concurrency.toString()),
memory = Quantity((1000 + (primary.spec.concurrency - 1) * 500).toString(), "Mi")
)
}
Expand Down

0 comments on commit e4ba289

Please sign in to comment.