2024-02-25 02:59:33 -06:00
|
|
|
---
|
|
|
|
# yaml-language-server: $schema=https://ks.hsn.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json
|
2024-05-20 08:01:57 -05:00
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
2024-02-25 02:59:33 -06:00
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
|
|
|
name: descheduler
|
|
|
|
spec:
|
|
|
|
interval: 30m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: descheduler
|
|
|
|
version: 0.29.0
|
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: descheduler
|
|
|
|
namespace: flux-system
|
|
|
|
install:
|
|
|
|
remediation:
|
|
|
|
retries: 3
|
|
|
|
upgrade:
|
|
|
|
cleanupOnFail: true
|
|
|
|
remediation:
|
|
|
|
retries: 3
|
|
|
|
uninstall:
|
|
|
|
keepHistory: false
|
|
|
|
values:
|
2024-05-07 13:31:53 -05:00
|
|
|
replicas: 1
|
2024-02-25 02:59:33 -06:00
|
|
|
kind: Deployment
|
|
|
|
deschedulerPolicyAPIVersion: descheduler/v1alpha2
|
|
|
|
deschedulerPolicy:
|
|
|
|
profiles:
|
|
|
|
- name: Default
|
|
|
|
pluginConfig:
|
|
|
|
- name: DefaultEvictor
|
|
|
|
args:
|
|
|
|
evictFailedBarePods: true
|
|
|
|
evictLocalStoragePods: true
|
|
|
|
evictSystemCriticalPods: true
|
|
|
|
nodeFit: true
|
|
|
|
- name: RemovePodsViolatingInterPodAntiAffinity
|
|
|
|
- name: RemovePodsViolatingNodeAffinity
|
|
|
|
args:
|
|
|
|
nodeAffinityType:
|
|
|
|
- requiredDuringSchedulingIgnoredDuringExecution
|
|
|
|
- name: RemovePodsViolatingNodeTaints
|
|
|
|
- name: RemovePodsViolatingTopologySpreadConstraint
|
|
|
|
args:
|
|
|
|
constraints:
|
|
|
|
- DoNotSchedule
|
|
|
|
- ScheduleAnyway
|
2024-04-13 13:29:47 -05:00
|
|
|
- name: LowNodeUtilization
|
2024-04-13 13:21:46 -05:00
|
|
|
args:
|
2024-04-13 13:29:47 -05:00
|
|
|
targetThresholds:
|
|
|
|
cpu: 50
|
|
|
|
memory: 50
|
|
|
|
pods: 50
|
|
|
|
thresholds:
|
|
|
|
cpu: 20
|
|
|
|
memory: 20
|
|
|
|
pods: 20
|
|
|
|
useDeviationThresholds: true
|
2024-02-25 02:59:33 -06:00
|
|
|
plugins:
|
|
|
|
balance:
|
|
|
|
enabled:
|
|
|
|
- RemovePodsViolatingTopologySpreadConstraint
|
2024-04-13 13:29:47 -05:00
|
|
|
- LowNodeUtilization
|
2024-02-25 02:59:33 -06:00
|
|
|
deschedule:
|
|
|
|
enabled:
|
|
|
|
- RemovePodsViolatingInterPodAntiAffinity
|
|
|
|
- RemovePodsViolatingNodeAffinity
|
|
|
|
- RemovePodsViolatingNodeTaints
|
|
|
|
service:
|
|
|
|
enabled: true
|
|
|
|
serviceMonitor:
|
|
|
|
enabled: true
|
|
|
|
leaderElection:
|
2024-05-07 13:31:53 -05:00
|
|
|
enabled: true
|