diff --git a/templates/master_config.yaml.tpl b/templates/master_config.yaml.tpl index bef3ff1..d0fb6f9 100644 --- a/templates/master_config.yaml.tpl +++ b/templates/master_config.yaml.tpl @@ -8,4 +8,6 @@ advertise-address: ${node_ip} tls-san: ${node_ip} kubelet-arg: "cloud-provider=external" token: ${token} -node-name: ${node_name} \ No newline at end of file +node-name: ${node_name} +node-taint: +- node-role.kubernetes.io/master:NoSchedule diff --git a/templates/server_config.yaml.tpl b/templates/server_config.yaml.tpl index eafbe99..270c59f 100644 --- a/templates/server_config.yaml.tpl +++ b/templates/server_config.yaml.tpl @@ -8,4 +8,6 @@ advertise-address: ${node_ip} tls-san: ${node_ip} kubelet-arg: "cloud-provider=external" token: ${token} -node-name: ${node_name} \ No newline at end of file +node-name: ${node_name} +node-taint: +- node-role.kubernetes.io/master:NoSchedule