Test worker CPU rebalancing thresholds in dry run
This commit is contained in:
1 parent
2d218c8190
commit
42ef97f5d3
1 file changed
+5
-4
@@ -12,6 +12,7 @@ resources:
|
||||
memory: 256Mi
|
||||
cmdOptions:
|
||||
v: 3
|
||||
dry-run: true
|
||||
deschedulerPolicy:
|
||||
maxNoOfPodsToEvictPerNode: 1
|
||||
maxNoOfPodsToEvictPerNamespace: 1
|
||||
@@ -19,14 +20,14 @@ deschedulerPolicy:
|
||||
metricsProviders:
|
||||
- source: KubernetesMetrics
|
||||
profiles:
|
||||
- name: odroid-cpu-balance
|
||||
- name: worker-cpu-balance
|
||||
pluginConfig:
|
||||
- name: DefaultEvictor
|
||||
args:
|
||||
nodeFit: true
|
||||
minPodAge: 1h
|
||||
minReplicas: 2
|
||||
nodeSelector: "kubernetes.io/hostname in (odroid-h3-00,odroid-h3-01,odroid-h3-02,odroid-h3-03,odroid-h3-04,odroid-h3-05)"
|
||||
nodeSelector: "!node-role.kubernetes.io/control-plane"
|
||||
podProtections:
|
||||
defaultDisabled:
|
||||
- PodsWithLocalStorage
|
||||
@@ -38,9 +39,9 @@ deschedulerPolicy:
|
||||
metricsUtilization:
|
||||
source: KubernetesMetrics
|
||||
thresholds:
|
||||
cpu: 40
|
||||
cpu: 25
|
||||
targetThresholds:
|
||||
cpu: 75
|
||||
cpu: 50
|
||||
evictableNamespaces:
|
||||
exclude:
|
||||
- kube-system
|
||||
|
||||
Reference in new issue
Block a user