Merge pull request #2346 from Miouge1/kube-scheduler-mode

Use legacy policy config to apply the scheduler policy
This commit is contained in:
Andreas Krüger 2018-04-04 10:20:51 +02:00 committed by GitHub
commit 2511e14289
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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