Skip to content

Commit

Permalink
Remove references to unused variable and update documentation regardi…
Browse files Browse the repository at this point in the history
…ng deschedulerPolicy
  • Loading branch information
agmimidi committed Apr 10, 2024
1 parent d2bfafe commit 9462c34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion charts/descheduler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ The following table lists the configurable parameters of the _descheduler_ chart
| `replicas` | The replica count for Deployment | `1` |
| `leaderElection` | The options for high availability when running replicated components | _see values.yaml_ |
| `cmdOptions` | The options to pass to the _descheduler_ command | _see values.yaml_ |
| `existingPolicyConfigMap` | if set to true, an existing policy configMap will be used instead of being generated. | _see values.yaml_ |
| `deschedulerPolicy.strategies` | The _descheduler_ strategies to apply | _see values.yaml_ |
| `priorityClassName` | The name of the priority class to add to pods | `system-cluster-critical` |
| `rbac.create` | If `true`, create & use RBAC resources | `true` |
Expand Down
6 changes: 4 additions & 2 deletions charts/descheduler/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,10 @@ cmdOptions:
# Recommended to use the latest Policy API version supported by the Descheduler app version
deschedulerPolicyAPIVersion: "descheduler/v1alpha2"

existingPolicyConfigMap: false

# deschedulerPolicy contains the policies the descheduler will execute.
# To use policies stored in an existing configMap use:
# NOTE: The name of the cm should comply to {{ template "descheduler.fullname" . }}
# deschedulerPolicy: []
deschedulerPolicy:
# nodeSelector: "key1=value1,key2=value2"
# maxNoOfPodsToEvictPerNode: 10
Expand Down

0 comments on commit 9462c34

Please sign in to comment.