Use legacy policy config to apply the scheduler policy

This commit is contained in:
Miouge1 2018-02-16 13:43:35 +01:00
parent 56b7400dac
commit 4c280e59d4

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