From 781572fed549f288e46af119d2cc19a32e6ccdee Mon Sep 17 00:00:00 2001 From: googs1025 Date: Thu, 23 Oct 2025 20:03:33 +0800 Subject: [PATCH] use podProtections args Signed-off-by: googs1025 --- charts/descheduler/values.yaml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/charts/descheduler/values.yaml b/charts/descheduler/values.yaml index e18d77401..3ba1097e4 100644 --- a/charts/descheduler/values.yaml +++ b/charts/descheduler/values.yaml @@ -108,8 +108,11 @@ deschedulerPolicy: pluginConfig: - name: DefaultEvictor args: - ignorePvcPods: true - evictLocalStoragePods: true + podProtections: + defaultDisabled: + - "PodsWithLocalStorage" + extraEnabled: + - "PodsWithPVC" - name: RemoveDuplicates - name: RemovePodsHavingTooManyRestarts args: @@ -195,12 +198,11 @@ serviceAccount: # Specifies custom annotations for the serviceAccount annotations: {} # Opt out of API credential automounting - # - # automountServiceAccountToken Default is not set + # + # automountServiceAccountToken Default is not set # automountServiceAccountToken: true - -# Mount the ServiceAccountToken in the Pod of a CronJob or Deployment +# Mount the ServiceAccountToken in the Pod of a CronJob or Deployment # Default is not set - but only implied by the ServiceAccount # automountServiceAccountToken: true @@ -268,7 +270,7 @@ serviceMonitor: # action: replace ## Additional Volume mounts when automountServiceAccountToken is false -# extraServiceAccountVolumeMounts: +# extraServiceAccountVolumeMounts: # - mountPath: /var/run/secrets/kubernetes.io/serviceaccount # name: kube-api-access # readOnly: true