From cfe939ff08094c19a407459278067ba6dbb116b2 Mon Sep 17 00:00:00 2001 From: Frank Ritchie <12985912+fritchie@users.noreply.github.com> Date: Mon, 11 Jun 2018 20:10:13 -0400 Subject: [PATCH] Tolerate NoSchedule by default --- .../templates/local-volume-provisioner-ds.yml.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/kubernetes-apps/external_provisioner/local_volume_provisioner/templates/local-volume-provisioner-ds.yml.j2 b/roles/kubernetes-apps/external_provisioner/local_volume_provisioner/templates/local-volume-provisioner-ds.yml.j2 index 80a74f5f1..fe71d56e5 100644 --- a/roles/kubernetes-apps/external_provisioner/local_volume_provisioner/templates/local-volume-provisioner-ds.yml.j2 +++ b/roles/kubernetes-apps/external_provisioner/local_volume_provisioner/templates/local-volume-provisioner-ds.yml.j2 @@ -19,6 +19,9 @@ spec: version: {{ local_volume_provisioner_image_tag }} spec: serviceAccountName: local-volume-provisioner + tolerations: + - effect: NoSchedule + operator: Exists containers: - name: provisioner image: {{ local_volume_provisioner_image_repo }}:{{ local_volume_provisioner_image_tag }}