From f8e1986897e136dfa3d09d4d6848ea84f2d9cd27 Mon Sep 17 00:00:00 2001 From: Thorarinn Sigurdsson Date: Wed, 7 Jul 2021 12:33:19 +0200 Subject: [PATCH] fix(k8s): apply toleration to kaniko build pods Previously, we were applying a `NoSchedule` toleration to the `garden-util` pod, but not the actual builder pods. This is fixed here. --- core/src/plugins/kubernetes/container/build/kaniko.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/plugins/kubernetes/container/build/kaniko.ts b/core/src/plugins/kubernetes/container/build/kaniko.ts index dfd5b418fd..a1b44d7a8f 100644 --- a/core/src/plugins/kubernetes/container/build/kaniko.ts +++ b/core/src/plugins/kubernetes/container/build/kaniko.ts @@ -427,6 +427,7 @@ async function runKaniko({ }, }, ], + tolerations: [builderToleration], } if (provider.config.deploymentRegistry?.hostname === inClusterRegistryHostname) {