diff --git a/templates/master_config.yaml.tpl b/templates/master_config.yaml.tpl index 48a1309..f9e15e2 100644 --- a/templates/master_config.yaml.tpl +++ b/templates/master_config.yaml.tpl @@ -9,4 +9,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 3104882..43d31f1 100644 --- a/templates/server_config.yaml.tpl +++ b/templates/server_config.yaml.tpl @@ -9,4 +9,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