Skip to content

Commit

Permalink
do not taint controller nodes joining embedded-cluster clusters (#4466)
Browse files Browse the repository at this point in the history
  • Loading branch information
laverya authored Feb 22, 2024
1 parent dce1244 commit dc06aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/embeddedcluster/node_join.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func GenerateK0sJoinCommand(ctx context.Context, client kubernetes.Interface, ro

cmd := []string{"/usr/local/bin/k0s", "install", k0sRole}
if k0sRole == "controller" {
cmd = append(cmd, "--enable-worker")
cmd = append(cmd, "--enable-worker", "--no-taints")
}

labels, err := getRolesNodeLabels(ctx, roles)
Expand Down

0 comments on commit dc06aaf

Please sign in to comment.