Skip to content

Commit

Permalink
chore(base-cluster): add missing resources for descheduler (#989)
Browse files Browse the repository at this point in the history
  • Loading branch information
cwrau authored Jun 18, 2024
1 parent 18b59c6 commit 39b3389
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/base-cluster/templates/descheduler/descheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ spec:
startingDeadlineSeconds: 120
priorityClassName: system-cluster-critical
kind: Deployment
resources: {{- include "common.resources" .Values.descheduler | nindent 6 }}
{{- if .Values.monitoring.prometheus.enabled }}
service:
enabled: true
Expand Down
6 changes: 6 additions & 0 deletions charts/base-cluster/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -962,6 +962,12 @@
},
"additionalProperties": false
}
},
"resourcesPreset": {
"$ref": "#/$defs/resourcesPreset"
},
"resources": {
"$ref": "#/$defs/resourceRequirements"
}
},
"additionalProperties": false
Expand Down
8 changes: 8 additions & 0 deletions charts/base-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,14 @@ monitoring:

descheduler:
enabled: true
resourcesPreset: nano
resources:
requests:
cpu: 10m
memory: 64Mi
limits:
cpu: 100m
memory: 128Mi
strategies:
RemoveDuplicates:
enabled: true
Expand Down

0 comments on commit 39b3389

Please sign in to comment.