Merge pull request #1884 from NPastorale/master

feat(deployment): adds revisionHistoryLimit as a configurable parameter
This commit is contained in:
kubernetes-prow[bot]
2026-08-29 11:04:03 +00:00
committed by GitHub
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_ |
| `podDisruptionBudget.enabled` | If `true` and `kind` is `Deployment`, create a PodDisruptionBudget for the descheduler | `false` |
| `podDisruptionBudget.minAvailable` | Minimum descheduler pods that must stay available (mutually exclusive with `maxUnavailable`) | `1` |
@@ -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