From ad48606e4eebd86fe70966913736160632e2b987 Mon Sep 17 00:00:00 2001 From: Miouge1 Date: Mon, 14 May 2018 10:09:30 +0200 Subject: [PATCH] Restart scheduler when policy changes --- roles/kubernetes/master/tasks/static-pod-setup.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/kubernetes/master/tasks/static-pod-setup.yml b/roles/kubernetes/master/tasks/static-pod-setup.yml index e8308798f..ca00ca33c 100644 --- a/roles/kubernetes/master/tasks/static-pod-setup.yml +++ b/roles/kubernetes/master/tasks/static-pod-setup.yml @@ -13,6 +13,7 @@ template: src: kube-scheduler-policy.yaml.j2 dest: "{{ kube_config_dir }}/kube-scheduler-policy.yaml" + notify: Master | Restart kube-scheduler tags: - kube-scheduler