Make EphemeralRunnerController MaxConcurrentReconciles configurable (#3832)

Co-authored-by: Bassem Dghaidi <[email protected]>
This commit is contained in:
Yusuke Kuoka
2024-12-11 21:19:43 +01:00
committed by GitHub
co-authored by Bassem Dghaidi
parent 835bc2aed8
commit 3998f6dee6
5 changed files with 78 additions and 7 deletions
@@ -65,6 +65,9 @@ spec:
{{- with .Values.flags.watchSingleNamespace }}
- "--watch-single-namespace={{ . }}"
{{- end }}
{{- with .Values.runnerMaxConcurrentReconciles }}
- "--runner-max-concurrent-reconciles={{ . }}"
{{- end }}
{{- with .Values.flags.updateStrategy }}
- "--update-strategy={{ . }}"
{{- end }}
@@ -106,6 +106,11 @@ flags:
## Defaults to watch all namespaces when unset.
# watchSingleNamespace: ""
## The maximum number of concurrent reconciles which can be run by the EphemeralRunner controller.
# Increase this value to improve the throughput of the controller.
# It may also increase the load on the API server and the external service (e.g. GitHub API).
runnerMaxConcurrentReconciles: 2
## Defines how the controller should handle upgrades while having running jobs.
##
## The strategies available are: