Browse Source

Use legacy policy config to apply the scheduler policy

pull/2346/head
Miouge1 6 years ago
parent
commit
4c280e59d4
1 changed files with 1 additions and 0 deletions
  1. 1
      roles/kubernetes/master/templates/manifests/kube-scheduler.manifest.j2

1
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

Loading…
Cancel
Save