mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-27 22:14:52 +01:00
Drop remaining mentions of evict extension point
This commit is contained in:
77
README.md
77
README.md
@@ -125,7 +125,7 @@ The Default Evictor Plugin is used by default for filtering pods before processi
|
|||||||
|
|
||||||
### Example policy
|
### Example policy
|
||||||
|
|
||||||
As part of the policy, you will start deciding which top level configuration to use, then which Evictor plugin to use (if you have your own, the Default Evictor if not), followed by deciding the configuration passed to the Evictor Plugin. After that you will enable/disable eviction strategies plugins and configure them properly.
|
As part of the policy, you will start deciding which top level configuration to use, then which Evictor plugin to use (if you have your own, the Default Evictor if not), followed by deciding the configuration passed to the Evictor Plugin. By default, the Default Evictor is enabled for both `filter` and `preEvictionFilter` extension points. After that you will enable/disable eviction strategies plugins and configure them properly.
|
||||||
|
|
||||||
See each strategy plugin section for details on available parameters.
|
See each strategy plugin section for details on available parameters.
|
||||||
|
|
||||||
@@ -147,9 +147,13 @@ profiles:
|
|||||||
evictLocalStoragePods: true
|
evictLocalStoragePods: true
|
||||||
nodeFit: true
|
nodeFit: true
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
# DefaultEvictor is enabled for both `filter` and `preEvictionFilter`
|
||||||
enabled:
|
# filter:
|
||||||
- "DefaultEvictor"
|
# enabled:
|
||||||
|
# - "DefaultEvictor"
|
||||||
|
# preEvictionFilter:
|
||||||
|
# enabled:
|
||||||
|
# - "DefaultEvictor"
|
||||||
deschedule:
|
deschedule:
|
||||||
enabled:
|
enabled:
|
||||||
- ...
|
- ...
|
||||||
@@ -211,15 +215,11 @@ kind: "DeschedulerPolicy"
|
|||||||
profiles:
|
profiles:
|
||||||
- name: ProfileName
|
- name: ProfileName
|
||||||
pluginConfig:
|
pluginConfig:
|
||||||
- name: "DefaultEvictor"
|
|
||||||
- name: "RemoveDuplicates"
|
- name: "RemoveDuplicates"
|
||||||
args:
|
args:
|
||||||
excludeOwnerKinds:
|
excludeOwnerKinds:
|
||||||
- "ReplicaSet"
|
- "ReplicaSet"
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
balance:
|
balance:
|
||||||
enabled:
|
enabled:
|
||||||
- "RemoveDuplicates"
|
- "RemoveDuplicates"
|
||||||
@@ -278,7 +278,6 @@ kind: "DeschedulerPolicy"
|
|||||||
profiles:
|
profiles:
|
||||||
- name: ProfileName
|
- name: ProfileName
|
||||||
pluginConfig:
|
pluginConfig:
|
||||||
- name: "DefaultEvictor"
|
|
||||||
- name: "LowNodeUtilization"
|
- name: "LowNodeUtilization"
|
||||||
args:
|
args:
|
||||||
thresholds:
|
thresholds:
|
||||||
@@ -290,9 +289,6 @@ profiles:
|
|||||||
"memory": 50
|
"memory": 50
|
||||||
"pods": 50
|
"pods": 50
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
balance:
|
balance:
|
||||||
enabled:
|
enabled:
|
||||||
- "LowNodeUtilization"
|
- "LowNodeUtilization"
|
||||||
@@ -358,7 +354,6 @@ kind: "DeschedulerPolicy"
|
|||||||
profiles:
|
profiles:
|
||||||
- name: ProfileName
|
- name: ProfileName
|
||||||
pluginConfig:
|
pluginConfig:
|
||||||
- name: "DefaultEvictor"
|
|
||||||
- name: "HighNodeUtilization"
|
- name: "HighNodeUtilization"
|
||||||
args:
|
args:
|
||||||
thresholds:
|
thresholds:
|
||||||
@@ -369,11 +364,8 @@ profiles:
|
|||||||
namespaces:
|
namespaces:
|
||||||
exclude:
|
exclude:
|
||||||
- "kube-system"
|
- "kube-system"
|
||||||
- "namespace1"
|
- "namespace1"
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
balance:
|
balance:
|
||||||
enabled:
|
enabled:
|
||||||
- "HighNodeUtilization"
|
- "HighNodeUtilization"
|
||||||
@@ -413,12 +405,8 @@ kind: "DeschedulerPolicy"
|
|||||||
profiles:
|
profiles:
|
||||||
- name: ProfileName
|
- name: ProfileName
|
||||||
pluginConfig:
|
pluginConfig:
|
||||||
- name: "DefaultEvictor"
|
|
||||||
- name: "RemovePodsViolatingInterPodAntiAffinity"
|
- name: "RemovePodsViolatingInterPodAntiAffinity"
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
deschedule:
|
deschedule:
|
||||||
enabled:
|
enabled:
|
||||||
- "RemovePodsViolatingInterPodAntiAffinity"
|
- "RemovePodsViolatingInterPodAntiAffinity"
|
||||||
@@ -458,15 +446,11 @@ kind: "DeschedulerPolicy"
|
|||||||
profiles:
|
profiles:
|
||||||
- name: ProfileName
|
- name: ProfileName
|
||||||
pluginConfig:
|
pluginConfig:
|
||||||
- name: "DefaultEvictor"
|
|
||||||
- name: "RemovePodsViolatingNodeAffinity"
|
- name: "RemovePodsViolatingNodeAffinity"
|
||||||
args:
|
args:
|
||||||
nodeAffinityType:
|
nodeAffinityType:
|
||||||
- "requiredDuringSchedulingIgnoredDuringExecution"
|
- "requiredDuringSchedulingIgnoredDuringExecution"
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
deschedule:
|
deschedule:
|
||||||
enabled:
|
enabled:
|
||||||
- "RemovePodsViolatingNodeAffinity"
|
- "RemovePodsViolatingNodeAffinity"
|
||||||
@@ -502,16 +486,12 @@ kind: "DeschedulerPolicy"
|
|||||||
profiles:
|
profiles:
|
||||||
- name: ProfileName
|
- name: ProfileName
|
||||||
pluginConfig:
|
pluginConfig:
|
||||||
- name: "DefaultEvictor"
|
|
||||||
- name: "RemovePodsViolatingNodeTaints"
|
- name: "RemovePodsViolatingNodeTaints"
|
||||||
args:
|
args:
|
||||||
excludedTaints:
|
excludedTaints:
|
||||||
- dedicated=special-user # exclude taints with key "dedicated" and value "special-user"
|
- dedicated=special-user # exclude taints with key "dedicated" and value "special-user"
|
||||||
- reserved # exclude all taints with key "reserved"
|
- reserved # exclude all taints with key "reserved"
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
deschedule:
|
deschedule:
|
||||||
enabled:
|
enabled:
|
||||||
- "RemovePodsViolatingNodeTaints"
|
- "RemovePodsViolatingNodeTaints"
|
||||||
@@ -544,14 +524,10 @@ kind: "DeschedulerPolicy"
|
|||||||
profiles:
|
profiles:
|
||||||
- name: ProfileName
|
- name: ProfileName
|
||||||
pluginConfig:
|
pluginConfig:
|
||||||
- name: "DefaultEvictor"
|
|
||||||
- name: "RemovePodsViolatingTopologySpreadConstraint"
|
- name: "RemovePodsViolatingTopologySpreadConstraint"
|
||||||
args:
|
args:
|
||||||
includeSoftConstraints: false
|
includeSoftConstraints: false
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
balance:
|
balance:
|
||||||
enabled:
|
enabled:
|
||||||
- "RemovePodsViolatingTopologySpreadConstraint"
|
- "RemovePodsViolatingTopologySpreadConstraint"
|
||||||
@@ -583,15 +559,11 @@ kind: "DeschedulerPolicy"
|
|||||||
profiles:
|
profiles:
|
||||||
- name: ProfileName
|
- name: ProfileName
|
||||||
pluginConfig:
|
pluginConfig:
|
||||||
- name: "DefaultEvictor"
|
|
||||||
- name: "RemovePodsHavingTooManyRestarts"
|
- name: "RemovePodsHavingTooManyRestarts"
|
||||||
args:
|
args:
|
||||||
podRestartThreshold: 100
|
podRestartThreshold: 100
|
||||||
includingInitContainers: true
|
includingInitContainers: true
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
deschedule:
|
deschedule:
|
||||||
enabled:
|
enabled:
|
||||||
- "RemovePodsHavingTooManyRestarts"
|
- "RemovePodsHavingTooManyRestarts"
|
||||||
@@ -625,7 +597,6 @@ kind: "DeschedulerPolicy"
|
|||||||
profiles:
|
profiles:
|
||||||
- name: ProfileName
|
- name: ProfileName
|
||||||
pluginConfig:
|
pluginConfig:
|
||||||
- name: "DefaultEvictor"
|
|
||||||
- name: "PodLifeTime"
|
- name: "PodLifeTime"
|
||||||
args:
|
args:
|
||||||
maxPodLifeTimeSeconds: 86400
|
maxPodLifeTimeSeconds: 86400
|
||||||
@@ -633,9 +604,6 @@ profiles:
|
|||||||
- "Pending"
|
- "Pending"
|
||||||
- "PodInitializing"
|
- "PodInitializing"
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
deschedule:
|
deschedule:
|
||||||
enabled:
|
enabled:
|
||||||
- "PodLifeTime"
|
- "PodLifeTime"
|
||||||
@@ -669,7 +637,6 @@ kind: "DeschedulerPolicy"
|
|||||||
profiles:
|
profiles:
|
||||||
- name: ProfileName
|
- name: ProfileName
|
||||||
pluginConfig:
|
pluginConfig:
|
||||||
- name: "DefaultEvictor"
|
|
||||||
- name: "RemoveFailedPods"
|
- name: "RemoveFailedPods"
|
||||||
args:
|
args:
|
||||||
reasons:
|
reasons:
|
||||||
@@ -679,9 +646,6 @@ profiles:
|
|||||||
- "Job"
|
- "Job"
|
||||||
minPodLifetimeSeconds: 3600
|
minPodLifetimeSeconds: 3600
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
deschedule:
|
deschedule:
|
||||||
enabled:
|
enabled:
|
||||||
- "RemoveFailedPods"
|
- "RemoveFailedPods"
|
||||||
@@ -713,7 +677,6 @@ kind: "DeschedulerPolicy"
|
|||||||
profiles:
|
profiles:
|
||||||
- name: ProfileName
|
- name: ProfileName
|
||||||
pluginConfig:
|
pluginConfig:
|
||||||
- name: "DefaultEvictor"
|
|
||||||
- name: "PodLifeTime"
|
- name: "PodLifeTime"
|
||||||
args:
|
args:
|
||||||
maxPodLifeTimeSeconds: 86400
|
maxPodLifeTimeSeconds: 86400
|
||||||
@@ -722,9 +685,6 @@ profiles:
|
|||||||
- "namespace1"
|
- "namespace1"
|
||||||
- "namespace2"
|
- "namespace2"
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
deschedule:
|
deschedule:
|
||||||
enabled:
|
enabled:
|
||||||
- "PodLifeTime"
|
- "PodLifeTime"
|
||||||
@@ -739,7 +699,6 @@ kind: "DeschedulerPolicy"
|
|||||||
profiles:
|
profiles:
|
||||||
- name: ProfileName
|
- name: ProfileName
|
||||||
pluginConfig:
|
pluginConfig:
|
||||||
- name: "DefaultEvictor"
|
|
||||||
- name: "PodLifeTime"
|
- name: "PodLifeTime"
|
||||||
args:
|
args:
|
||||||
maxPodLifeTimeSeconds: 86400
|
maxPodLifeTimeSeconds: 86400
|
||||||
@@ -748,9 +707,6 @@ profiles:
|
|||||||
- "namespace1"
|
- "namespace1"
|
||||||
- "namespace2"
|
- "namespace2"
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
deschedule:
|
deschedule:
|
||||||
enabled:
|
enabled:
|
||||||
- "PodLifeTime"
|
- "PodLifeTime"
|
||||||
@@ -786,9 +742,6 @@ profiles:
|
|||||||
args:
|
args:
|
||||||
maxPodLifeTimeSeconds: 86400
|
maxPodLifeTimeSeconds: 86400
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
deschedule:
|
deschedule:
|
||||||
enabled:
|
enabled:
|
||||||
- "PodLifeTime"
|
- "PodLifeTime"
|
||||||
@@ -809,9 +762,6 @@ profiles:
|
|||||||
args:
|
args:
|
||||||
maxPodLifeTimeSeconds: 86400
|
maxPodLifeTimeSeconds: 86400
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
deschedule:
|
deschedule:
|
||||||
enabled:
|
enabled:
|
||||||
- "PodLifeTime"
|
- "PodLifeTime"
|
||||||
@@ -843,7 +793,6 @@ kind: "DeschedulerPolicy"
|
|||||||
profiles:
|
profiles:
|
||||||
- name: ProfileName
|
- name: ProfileName
|
||||||
pluginConfig:
|
pluginConfig:
|
||||||
- name: "DefaultEvictor"
|
|
||||||
- name: "PodLifeTime"
|
- name: "PodLifeTime"
|
||||||
args:
|
args:
|
||||||
maxPodLifeTimeSeconds: 86400
|
maxPodLifeTimeSeconds: 86400
|
||||||
@@ -854,9 +803,6 @@ profiles:
|
|||||||
- {key: tier, operator: In, values: [cache]}
|
- {key: tier, operator: In, values: [cache]}
|
||||||
- {key: environment, operator: NotIn, values: [dev]}
|
- {key: environment, operator: NotIn, values: [dev]}
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
deschedule:
|
deschedule:
|
||||||
enabled:
|
enabled:
|
||||||
- "PodLifeTime"
|
- "PodLifeTime"
|
||||||
@@ -887,9 +833,6 @@ profiles:
|
|||||||
args:
|
args:
|
||||||
maxPodLifeTimeSeconds: 86400
|
maxPodLifeTimeSeconds: 86400
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
deschedule:
|
deschedule:
|
||||||
enabled:
|
enabled:
|
||||||
- "PodLifeTime"
|
- "PodLifeTime"
|
||||||
|
|||||||
@@ -58,14 +58,10 @@ kind: "DeschedulerPolicy"
|
|||||||
profiles:
|
profiles:
|
||||||
- name: ProfileName
|
- name: ProfileName
|
||||||
pluginConfig:
|
pluginConfig:
|
||||||
- name: "DefaultEvictor"
|
|
||||||
- name: "PodLifeTime"
|
- name: "PodLifeTime"
|
||||||
args:
|
args:
|
||||||
maxPodLifeTimeSeconds: 604800
|
maxPodLifeTimeSeconds: 604800
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
deschedule:
|
deschedule:
|
||||||
enabled:
|
enabled:
|
||||||
- "PodLifeTime"
|
- "PodLifeTime"
|
||||||
@@ -73,7 +69,7 @@ profiles:
|
|||||||
|
|
||||||
### Balance Cluster By Node Memory Utilization
|
### Balance Cluster By Node Memory Utilization
|
||||||
If your cluster has been running for a long period of time, you may find that the resource utilization is not very
|
If your cluster has been running for a long period of time, you may find that the resource utilization is not very
|
||||||
balanced. The following two strategies can be used to rebalance your cluster based on `cpu`, `memory`
|
balanced. The following two strategies can be used to rebalance your cluster based on `cpu`, `memory`
|
||||||
or `number of pods`.
|
or `number of pods`.
|
||||||
|
|
||||||
#### Balance high utilization nodes
|
#### Balance high utilization nodes
|
||||||
@@ -86,7 +82,6 @@ kind: "DeschedulerPolicy"
|
|||||||
profiles:
|
profiles:
|
||||||
- name: ProfileName
|
- name: ProfileName
|
||||||
pluginConfig:
|
pluginConfig:
|
||||||
- name: "DefaultEvictor"
|
|
||||||
- name: "LowNodeUtilization"
|
- name: "LowNodeUtilization"
|
||||||
args:
|
args:
|
||||||
thresholds:
|
thresholds:
|
||||||
@@ -94,9 +89,6 @@ profiles:
|
|||||||
targetThresholds:
|
targetThresholds:
|
||||||
"memory": 70
|
"memory": 70
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
balance:
|
balance:
|
||||||
enabled:
|
enabled:
|
||||||
- "LowNodeUtilization"
|
- "LowNodeUtilization"
|
||||||
@@ -113,15 +105,11 @@ kind: "DeschedulerPolicy"
|
|||||||
profiles:
|
profiles:
|
||||||
- name: ProfileName
|
- name: ProfileName
|
||||||
pluginConfig:
|
pluginConfig:
|
||||||
- name: "DefaultEvictor"
|
|
||||||
- name: "HighNodeUtilization"
|
- name: "HighNodeUtilization"
|
||||||
args:
|
args:
|
||||||
thresholds:
|
thresholds:
|
||||||
"memory": 20
|
"memory": 20
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
balance:
|
balance:
|
||||||
enabled:
|
enabled:
|
||||||
- "HighNodeUtilization"
|
- "HighNodeUtilization"
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ kind: "DeschedulerPolicy"
|
|||||||
profiles:
|
profiles:
|
||||||
- name: ProfileName
|
- name: ProfileName
|
||||||
pluginConfig:
|
pluginConfig:
|
||||||
- name: "DefaultEvictor"
|
|
||||||
- name: "RemoveFailedPods"
|
- name: "RemoveFailedPods"
|
||||||
args:
|
args:
|
||||||
reasons:
|
reasons:
|
||||||
@@ -14,9 +13,6 @@ profiles:
|
|||||||
- "Job"
|
- "Job"
|
||||||
minPodLifetimeSeconds: 3600
|
minPodLifetimeSeconds: 3600
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
deschedule:
|
deschedule:
|
||||||
enabled:
|
enabled:
|
||||||
- "RemoveFailedPods"
|
- "RemoveFailedPods"
|
||||||
|
|||||||
@@ -3,15 +3,11 @@ kind: "DeschedulerPolicy"
|
|||||||
profiles:
|
profiles:
|
||||||
- name: ProfileName
|
- name: ProfileName
|
||||||
pluginConfig:
|
pluginConfig:
|
||||||
- name: "DefaultEvictor"
|
|
||||||
- name: "HighNodeUtilization"
|
- name: "HighNodeUtilization"
|
||||||
args:
|
args:
|
||||||
thresholds:
|
thresholds:
|
||||||
"memory": 20
|
"memory": 20
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
balance:
|
balance:
|
||||||
enabled:
|
enabled:
|
||||||
- "HighNodeUtilization"
|
- "HighNodeUtilization"
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ kind: "DeschedulerPolicy"
|
|||||||
profiles:
|
profiles:
|
||||||
- name: ProfileName
|
- name: ProfileName
|
||||||
pluginConfig:
|
pluginConfig:
|
||||||
- name: "DefaultEvictor"
|
|
||||||
- name: "LowNodeUtilization"
|
- name: "LowNodeUtilization"
|
||||||
args:
|
args:
|
||||||
thresholds:
|
thresholds:
|
||||||
@@ -11,9 +10,6 @@ profiles:
|
|||||||
targetThresholds:
|
targetThresholds:
|
||||||
"memory": 70
|
"memory": 70
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
balance:
|
balance:
|
||||||
enabled:
|
enabled:
|
||||||
- "LowNodeUtilization"
|
- "LowNodeUtilization"
|
||||||
|
|||||||
@@ -3,15 +3,11 @@ kind: "DeschedulerPolicy"
|
|||||||
profiles:
|
profiles:
|
||||||
- name: ProfileName
|
- name: ProfileName
|
||||||
pluginConfig:
|
pluginConfig:
|
||||||
- name: "DefaultEvictor"
|
|
||||||
- name: "RemovePodsViolatingNodeAffinity"
|
- name: "RemovePodsViolatingNodeAffinity"
|
||||||
args:
|
args:
|
||||||
nodeAffinityType:
|
nodeAffinityType:
|
||||||
- "requiredDuringSchedulingIgnoredDuringExecution"
|
- "requiredDuringSchedulingIgnoredDuringExecution"
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
deschedule:
|
deschedule:
|
||||||
enabled:
|
enabled:
|
||||||
- "RemovePodsViolatingNodeAffinity"
|
- "RemovePodsViolatingNodeAffinity"
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ kind: "DeschedulerPolicy"
|
|||||||
profiles:
|
profiles:
|
||||||
- name: ProfileName
|
- name: ProfileName
|
||||||
pluginConfig:
|
pluginConfig:
|
||||||
- name: "DefaultEvictor"
|
|
||||||
- name: "PodLifeTime"
|
- name: "PodLifeTime"
|
||||||
args:
|
args:
|
||||||
maxPodLifeTimeSeconds: 604800 # 7 days
|
maxPodLifeTimeSeconds: 604800 # 7 days
|
||||||
@@ -11,9 +10,6 @@ profiles:
|
|||||||
- "Pending"
|
- "Pending"
|
||||||
- "PodInitializing"
|
- "PodInitializing"
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
deschedule:
|
deschedule:
|
||||||
enabled:
|
enabled:
|
||||||
- "PodLifeTime"
|
- "PodLifeTime"
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ kind: "DeschedulerPolicy"
|
|||||||
profiles:
|
profiles:
|
||||||
- name: ProfileName
|
- name: ProfileName
|
||||||
pluginConfig:
|
pluginConfig:
|
||||||
- name: "DefaultEvictor"
|
|
||||||
- name: "RemoveDuplicates"
|
- name: "RemoveDuplicates"
|
||||||
- name: "RemovePodsViolatingInterPodAntiAffinity"
|
- name: "RemovePodsViolatingInterPodAntiAffinity"
|
||||||
- name: "LowNodeUtilization"
|
- name: "LowNodeUtilization"
|
||||||
@@ -24,9 +23,6 @@ profiles:
|
|||||||
args:
|
args:
|
||||||
includeSoftConstraints: true
|
includeSoftConstraints: true
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
deschedule:
|
deschedule:
|
||||||
enabled:
|
enabled:
|
||||||
- "RemovePodsViolatingInterPodAntiAffinity"
|
- "RemovePodsViolatingInterPodAntiAffinity"
|
||||||
@@ -36,4 +32,3 @@ profiles:
|
|||||||
- "RemoveDuplicates"
|
- "RemoveDuplicates"
|
||||||
- "LowNodeUtilization"
|
- "LowNodeUtilization"
|
||||||
- "RemovePodsViolatingTopologySpreadConstraint"
|
- "RemovePodsViolatingTopologySpreadConstraint"
|
||||||
|
|
||||||
|
|||||||
@@ -3,14 +3,10 @@ kind: "DeschedulerPolicy"
|
|||||||
profiles:
|
profiles:
|
||||||
- name: ProfileName
|
- name: ProfileName
|
||||||
pluginConfig:
|
pluginConfig:
|
||||||
- name: "DefaultEvictor"
|
|
||||||
- name: "RemovePodsViolatingTopologySpreadConstraint"
|
- name: "RemovePodsViolatingTopologySpreadConstraint"
|
||||||
args:
|
args:
|
||||||
includeSoftConstraints: true # Include 'ScheduleAnyways' constraints
|
includeSoftConstraints: true # Include 'ScheduleAnyways' constraints
|
||||||
plugins:
|
plugins:
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
balance:
|
balance:
|
||||||
enabled:
|
enabled:
|
||||||
- "RemovePodsViolatingTopologySpreadConstraint"
|
- "RemovePodsViolatingTopologySpreadConstraint"
|
||||||
|
|||||||
@@ -875,12 +875,6 @@ profiles:
|
|||||||
podRestartThreshold: 100
|
podRestartThreshold: 100
|
||||||
includingInitContainers: true
|
includingInitContainers: true
|
||||||
plugins:
|
plugins:
|
||||||
filter:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
evict:
|
|
||||||
enabled:
|
|
||||||
- "DefaultEvictor"
|
|
||||||
deschedule:
|
deschedule:
|
||||||
enabled:
|
enabled:
|
||||||
- "RemovePodsHavingTooManyRestarts"
|
- "RemovePodsHavingTooManyRestarts"
|
||||||
|
|||||||
Reference in New Issue
Block a user