cluster

Infrastructure files for Nordgedanken and Midnightthoughts.
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.git
Log | Files | Refs | README

commit 3a8beb43811877a08721003d6d740124f0cd9173
parent 52bf5eef75b3345aef509d35023f19315af15b7b
Author: MTRNord <mtrnord1@gmail.com>
Date:   Fri, 11 Oct 2024 01:02:17 +0200

Update descheduler

Diffstat:
Minfrastructure/controllers/descheduler.yaml | 68+++++++++++++++++++++++++++++++++++++++++---------------------------
1 file changed, 41 insertions(+), 27 deletions(-)

diff --git a/infrastructure/controllers/descheduler.yaml b/infrastructure/controllers/descheduler.yaml @@ -43,30 +43,44 @@ spec: serviceMonitor: enabled: true deschedulerPolicy: - strategies: - RemoveDuplicates: - enabled: false - RemovePodsHavingTooManyRestarts: - enabled: false - RemovePodsViolatingNodeTaints: - enabled: true - RemovePodsViolatingNodeAffinity: - enabled: true - RemovePodsViolatingInterPodAntiAffinity: - enabled: true - RemovePodsViolatingTopologySpreadConstraint: - enabled: true - LowNodeUtilization: - enabled: true - params: - nodeResourceUtilizationThresholds: - thresholds: - cpu: 20 - memory: 20 - pods: 20 - targetThresholds: - cpu: 50 - memory: 50 - pods: 50 - HighNodeUtilization: - enabled: true + profiles: + - name: default + pluginConfig: + - name: DefaultEvictor + args: + ignorePvcPods: true + evictLocalStoragePods: true + - name: RemoveDuplicates + - name: RemovePodsHavingTooManyRestarts + args: + podRestartThreshold: 100 + includingInitContainers: true + - name: RemovePodsViolatingNodeAffinity + args: + nodeAffinityType: + - requiredDuringSchedulingIgnoredDuringExecution + - name: RemovePodsViolatingNodeTaints + - name: RemovePodsViolatingInterPodAntiAffinity + - name: RemovePodsViolatingTopologySpreadConstraint + - name: LowNodeUtilization + args: + thresholds: + cpu: 20 + memory: 20 + pods: 20 + targetThresholds: + cpu: 50 + memory: 50 + pods: 50 + plugins: + balance: + enabled: + - RemoveDuplicates + - RemovePodsViolatingTopologySpreadConstraint + - LowNodeUtilization + deschedule: + enabled: + - RemovePodsHavingTooManyRestarts + - RemovePodsViolatingNodeTaints + - RemovePodsViolatingNodeAffinity + - RemovePodsViolatingInterPodAntiAffinity