feat(deployment): adds revisionHistoryLimit as a configurable parameter

Signed-off-by: NPastorale <npastorale@gmail.com>
This commit is contained in:
NPastorale
2026-06-22 16:39:24 +02:00
parent 86183b15a2
commit 436b0ac076
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -62,6 +62,7 @@ The following table lists the configurable parameters of the _descheduler_ chart
| `ttlSecondsAfterFinished` | If set, configure `ttlSecondsAfterFinished` for the _descheduler_ job | `nil` |
| `deschedulingInterval` | If using kind:Deployment, sets time between consecutive descheduler executions. | `5m` |
| `replicas` | The replica count for Deployment | `1` |
| `revisionHistoryLimit | The revision history limit for Deployment | `10` |
| `leaderElection` | The options for high availability when running replicated components | _see values.yaml_ |
| `cmdOptions` | The options to pass to the _descheduler_ command | _see values.yaml_ |
| `priorityClassName` | The name of the priority class to add to pods | `system-cluster-critical` |
@@ -18,6 +18,7 @@ spec:
{{- else }}
replicas: 1
{{- end }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
matchLabels:
{{- include "descheduler.selectorLabels" . | nindent 6 }}
+2
View File
@@ -68,6 +68,8 @@ deschedulingInterval: 5m
# only if that node is in the same zone as at least one already-running descheduler
replicas: 1
revisionHistoryLimit: 10
# Specifies whether Leader Election resources should be created
# Required when running as a Deployment
# NOTE: Leader election can't be activated if DryRun enabled