Add setting to allow_scheduling_on_control_plane

This commit is contained in:
Marco Nenciarini
2022-02-07 16:09:46 +01:00
parent ee7a0af8aa
commit 7e6eb731dd
6 changed files with 22 additions and 8 deletions

View File

@@ -10,5 +10,7 @@ tls-san: ${node_ip}
kubelet-arg: "cloud-provider=external"
token: ${token}
node-name: ${node_name}
%{ if !allow_scheduling_on_control_plane }
node-taint:
- node-role.kubernetes.io/master:NoSchedule
%{ endif }

View File

@@ -10,5 +10,7 @@ tls-san: ${node_ip}
kubelet-arg: "cloud-provider=external"
token: ${token}
node-name: ${node_name}
%{ if !allow_scheduling_on_control_plane }
node-taint:
- node-role.kubernetes.io/master:NoSchedule
%{ endif }