58 lines
1.4 KiB
YAML
58 lines
1.4 KiB
YAML
schedule: "*/5 * * * *"
|
|
concurrencyPolicy: Forbid
|
|
activeDeadlineSeconds: 120
|
|
successfulJobsHistoryLimit: 2
|
|
failedJobsHistoryLimit: 2
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 128Mi
|
|
limits:
|
|
cpu: null
|
|
memory: 256Mi
|
|
cmdOptions:
|
|
v: 3
|
|
dry-run: true
|
|
deschedulerPolicy:
|
|
maxNoOfPodsToEvictPerNode: 1
|
|
maxNoOfPodsToEvictPerNamespace: 1
|
|
maxNoOfPodsToEvictTotal: 2
|
|
metricsProviders:
|
|
- source: KubernetesMetrics
|
|
profiles:
|
|
- name: worker-cpu-balance
|
|
pluginConfig:
|
|
- name: DefaultEvictor
|
|
args:
|
|
nodeFit: true
|
|
minPodAge: 1h
|
|
minReplicas: 2
|
|
nodeSelector: "!node-role.kubernetes.io/control-plane"
|
|
podProtections:
|
|
defaultDisabled:
|
|
- PodsWithLocalStorage
|
|
extraEnabled:
|
|
- PodsWithPVC
|
|
- PodsWithoutPDB
|
|
- name: LowNodeUtilization
|
|
args:
|
|
metricsUtilization:
|
|
source: KubernetesMetrics
|
|
thresholds:
|
|
cpu: 25
|
|
targetThresholds:
|
|
cpu: 50
|
|
evictableNamespaces:
|
|
exclude:
|
|
- kube-system
|
|
- rook-ceph
|
|
- argocd
|
|
- elastic
|
|
- prometheus
|
|
- metallb-system
|
|
- cert-manager
|
|
plugins:
|
|
balance:
|
|
enabled:
|
|
- LowNodeUtilization
|