mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-09-06 12:57:18 +00:00
feat(deployment): adds revisionHistoryLimit as a configurable parameter
Signed-off-by: NPastorale <npastorale@gmail.com>
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user