Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions charts/karmada/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ helm install karmada-scheduler-estimator -n karmada-system ./charts/karmada
| `scheduler.tolerations` | Tolerations of the scheduler | `[]` |
| `scheduler.strategy` | Strategy of the scheduler | `{"type": "RollingUpdate", "rollingUpdate": {"maxUnavailable": "0", "maxSurge": "50%"} }` |
| `scheduler.enableSchedulerEstimator` | Enable calling cluster scheduler estimator for adjusting replicas | `false` |
| `scheduler.enableEmptyWorkloadPropagation` | Enable scheduler propagation for zero-replica workloads | `false` |
| `webhook.labels` | Labels of the webhook deployment | `{"app": "karmada-webhook"}` |
| `webhook.replicaCount` | Target replicas of the webhook | `1` |
| `webhook.podLabels` | Labels of the webhook pods | `{}` |
Expand Down
3 changes: 3 additions & 0 deletions charts/karmada/templates/karmada-scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ spec:
{{- if .Values.scheduler.enableSchedulerEstimator }}
- --enable-scheduler-estimator=true
{{- end }}
{{- if .Values.scheduler.enableEmptyWorkloadPropagation }}
- --enable-empty-workload-propagation=true
{{- end }}
{{- with (include "karmada.scheduler.featureGates" .) }}
- {{ . }}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions charts/karmada/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,8 @@ scheduler:
priorityClassName: "system-node-critical"
## @param scheduler.enableSchedulerEstimator enable scheduler estimator
enableSchedulerEstimator: false
## @param scheduler.enableEmptyWorkloadPropagation enable propagation of zero-replica workloads
enableEmptyWorkloadPropagation: false
## @param scheduler.featureGates A set of key=value pairs that describe feature gates for karmada-scheduler
featureGates: {}

Expand Down