Skip to content

Commit

Permalink
Merge pull request #16 from edgefarm/remove-taint
Browse files Browse the repository at this point in the history
fix(kind): removed taint to schedule workload on control plane
  • Loading branch information
batthebee authored Jul 10, 2022
2 parents f0fdcb0 + 2a444ee commit 33d1ff9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions environments/kind/devspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 33d1ff9

Please sign in to comment.