From 2a444ee752cb10851c9e40cd71ff8b37073da5f2 Mon Sep 17 00:00:00 2001 From: Florian Reinhold Date: Sun, 10 Jul 2022 23:41:07 +0200 Subject: [PATCH] fix(kind): removed taint to schedule workload on control plane --- environments/kind/devspace.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/environments/kind/devspace.yaml b/environments/kind/devspace.yaml index 314d699..f33b62f 100644 --- a/environments/kind/devspace.yaml +++ b/environments/kind/devspace.yaml @@ -27,6 +27,8 @@ commands: command: |- set -e kind create cluster --name ${KIND_CLUSTER_NAME} --image kindest/node:${KIND_CLUSTER_VERSION} --config ${KIND_CONFIG} + # remove taint `node-role.kubernetes.io/master:NoSchedule` from all control-plane nodes + kubectl taint nodes -l node-role.kubernetes.io/control-plane= node-role.kubernetes.io/master:NoSchedule- export KIND_CLUSTER_NAME=${KIND_CLUSTER_NAME} export KIND_CONFIG=${KIND_CONFIG} devspace run activate