Skip to content
This repository has been archived by the owner on Jan 21, 2025. It is now read-only.

Commit

Permalink
fix(kind): removed taint to schedule workload on control plane
Browse files Browse the repository at this point in the history
  • Loading branch information
batthebee committed Jul 10, 2022
1 parent f0fdcb0 commit 2a444ee
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 2a444ee

Please sign in to comment.