Files
homelab-gitops/apps/descheduler/values.yaml
T

59 lines
1.5 KiB
YAML

schedule: "*/5 * * * *"
concurrencyPolicy: Forbid
activeDeadlineSeconds: 120
successfulJobsHistoryLimit: 2
failedJobsHistoryLimit: 2
resources:
requests:
cpu: 50m
memory: 128Mi
limits:
cpu: null
memory: 256Mi
# Observe the first cycle before enabling evictions.
cmdOptions:
dry-run: true
v: 3
deschedulerPolicy:
maxNoOfPodsToEvictPerNode: 1
maxNoOfPodsToEvictPerNamespace: 1
maxNoOfPodsToEvictTotal: 2
metricsProviders:
- source: KubernetesMetrics
profiles:
- name: odroid-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)"
podProtections:
defaultDisabled:
- PodsWithLocalStorage
extraEnabled:
- PodsWithPVC
- PodsWithoutPDB
- name: LowNodeUtilization
args:
metricsUtilization:
source: KubernetesMetrics
thresholds:
cpu: 40
targetThresholds:
cpu: 75
evictableNamespaces:
exclude:
- kube-system
- rook-ceph
- argocd
- elastic
- prometheus
- metallb-system
- cert-manager
plugins:
balance:
enabled:
- LowNodeUtilization