Browse Source
Merge pull request #2346 from Miouge1/kube-scheduler-mode
Use legacy policy config to apply the scheduler policy
pull/2603/head
Andreas Krüger
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
roles/kubernetes/master/templates/manifests/kube-scheduler.manifest.j2
|
|
@ -29,6 +29,7 @@ spec: |
|
|
|
- --leader-elect=true |
|
|
|
- --kubeconfig={{ kube_config_dir }}/kube-scheduler-kubeconfig.yaml |
|
|
|
{% if volume_cross_zone_attachment %} |
|
|
|
- --use-legacy-policy-config |
|
|
|
- --policy-config-file={{ kube_config_dir }}/kube-scheduler-policy.yaml |
|
|
|
{% endif %} |
|
|
|
- --profiling=false |
|
|
|