From 01e7015b970b5951c1d3a45d0bfd3f6ddcdd01e9 Mon Sep 17 00:00:00 2001 From: Hiroya Onoe Date: Mon, 7 Mar 2022 16:21:04 +0900 Subject: [PATCH] Update docs for maxNoOfPodsToEvictPerNamespace --- README.md | 1 + charts/descheduler/values.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 389ac4520..c23c8652a 100644 --- a/README.md +++ b/README.md @@ -132,6 +132,7 @@ The policy includes a common configuration that applies to all the strategies: | `evictSystemCriticalPods` | `false` | [Warning: Will evict Kubernetes system pods] allows eviction of pods with any priority, including system pods like kube-dns | | `ignorePvcPods` | `false` | set whether PVC pods should be evicted or ignored | | `maxNoOfPodsToEvictPerNode` | `nil` | maximum number of pods evicted from each node (summed through all strategies) | +| `maxNoOfPodsToEvictPerNamespace` | `nil` | maximum number of pods evicted from each namespace (summed through all strategies) | | `evictFailedBarePods` | `false` | allow eviction of pods without owner references and in failed phase | As part of the policy, the parameters associated with each strategy can be configured. diff --git a/charts/descheduler/values.yaml b/charts/descheduler/values.yaml index d3b1e62ab..32af1ad24 100644 --- a/charts/descheduler/values.yaml +++ b/charts/descheduler/values.yaml @@ -44,6 +44,7 @@ cmdOptions: deschedulerPolicy: # nodeSelector: "key1=value1,key2=value2" # maxNoOfPodsToEvictPerNode: 10 + # maxNoOfPodsToEvictPerNamespace: 10 # ignorePvcPods: true # evictLocalStoragePods: true strategies: