1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-28 14:41:10 +01:00

Drop remaining mentions of evict extension point

This commit is contained in:
Jan Chaloupka
2023-04-25 11:24:42 +02:00
parent a7113dab50
commit 4565184481
10 changed files with 11 additions and 115 deletions

View File

@@ -3,7 +3,6 @@ kind: "DeschedulerPolicy"
profiles:
- name: ProfileName
pluginConfig:
- name: "DefaultEvictor"
- name: "RemoveFailedPods"
args:
reasons:
@@ -14,9 +13,6 @@ profiles:
- "Job"
minPodLifetimeSeconds: 3600
plugins:
evict:
enabled:
- "DefaultEvictor"
deschedule:
enabled:
- "RemoveFailedPods"

View File

@@ -3,15 +3,11 @@ kind: "DeschedulerPolicy"
profiles:
- name: ProfileName
pluginConfig:
- name: "DefaultEvictor"
- name: "HighNodeUtilization"
args:
thresholds:
"memory": 20
plugins:
evict:
enabled:
- "DefaultEvictor"
balance:
enabled:
- "HighNodeUtilization"

View File

@@ -3,7 +3,6 @@ kind: "DeschedulerPolicy"
profiles:
- name: ProfileName
pluginConfig:
- name: "DefaultEvictor"
- name: "LowNodeUtilization"
args:
thresholds:
@@ -11,9 +10,6 @@ profiles:
targetThresholds:
"memory": 70
plugins:
evict:
enabled:
- "DefaultEvictor"
balance:
enabled:
- "LowNodeUtilization"

View File

@@ -3,15 +3,11 @@ kind: "DeschedulerPolicy"
profiles:
- name: ProfileName
pluginConfig:
- name: "DefaultEvictor"
- name: "RemovePodsViolatingNodeAffinity"
args:
nodeAffinityType:
- "requiredDuringSchedulingIgnoredDuringExecution"
plugins:
evict:
enabled:
- "DefaultEvictor"
deschedule:
enabled:
- "RemovePodsViolatingNodeAffinity"

View File

@@ -3,7 +3,6 @@ kind: "DeschedulerPolicy"
profiles:
- name: ProfileName
pluginConfig:
- name: "DefaultEvictor"
- name: "PodLifeTime"
args:
maxPodLifeTimeSeconds: 604800 # 7 days
@@ -11,9 +10,6 @@ profiles:
- "Pending"
- "PodInitializing"
plugins:
evict:
enabled:
- "DefaultEvictor"
deschedule:
enabled:
- "PodLifeTime"

View File

@@ -3,7 +3,6 @@ kind: "DeschedulerPolicy"
profiles:
- name: ProfileName
pluginConfig:
- name: "DefaultEvictor"
- name: "RemoveDuplicates"
- name: "RemovePodsViolatingInterPodAntiAffinity"
- name: "LowNodeUtilization"
@@ -24,9 +23,6 @@ profiles:
args:
includeSoftConstraints: true
plugins:
evict:
enabled:
- "DefaultEvictor"
deschedule:
enabled:
- "RemovePodsViolatingInterPodAntiAffinity"
@@ -36,4 +32,3 @@ profiles:
- "RemoveDuplicates"
- "LowNodeUtilization"
- "RemovePodsViolatingTopologySpreadConstraint"

View File

@@ -3,14 +3,10 @@ kind: "DeschedulerPolicy"
profiles:
- name: ProfileName
pluginConfig:
- name: "DefaultEvictor"
- name: "RemovePodsViolatingTopologySpreadConstraint"
args:
includeSoftConstraints: true # Include 'ScheduleAnyways' constraints
plugins:
evict:
enabled:
- "DefaultEvictor"
balance:
enabled:
- "RemovePodsViolatingTopologySpreadConstraint"