Skip to content

Commit

Permalink
Remove NoSchedule taints for control-planes as well as masters
Browse files Browse the repository at this point in the history
Signed-off-by: Itamar Holder <iholder@redhat.com>
  • Loading branch information
iholder101 committed Apr 17, 2024
1 parent ef69592 commit 8b6b623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster-up/cluster/kind/common.sh
Expand Up @@ -171,7 +171,7 @@ function _fix_node_labels() {
master_nodes=$(_get_nodes | grep -i $MASTER_NODES_PATTERN | awk '{print $1}')
for node in ${master_nodes[@]}; do
# removing NoSchedule taint if is there
if _kubectl taint nodes $node node-role.kubernetes.io/master:NoSchedule-; then
if _kubectl taint nodes $node node-role.kubernetes.io/master:NoSchedule- || _kubectl taint nodes $node node-role.kubernetes.io/control-plane:NoSchedule-; then
_kubectl label node $node kubevirt.io/schedulable=true
fi
done
Expand Down

0 comments on commit 8b6b623

Please sign in to comment.