From 1bb8eaf3ff5ce89f185d5aa72a29b10984e318c5 Mon Sep 17 00:00:00 2001 From: Mikkel Oscar Lyderik Larsen Date: Mon, 25 Feb 2019 11:19:22 +0100 Subject: [PATCH] Remove cluster-dns label from nodes Signed-off-by: Mikkel Oscar Lyderik Larsen --- cluster/node-pools/master-default/userdata.clc.yaml | 1 - cluster/node-pools/worker-default/userdata.clc.yaml | 1 - 2 files changed, 2 deletions(-) diff --git a/cluster/node-pools/master-default/userdata.clc.yaml b/cluster/node-pools/master-default/userdata.clc.yaml index eeeb068675..5af6e3bba9 100644 --- a/cluster/node-pools/master-default/userdata.clc.yaml +++ b/cluster/node-pools/master-default/userdata.clc.yaml @@ -185,7 +185,6 @@ systemd: --node-labels=node-role.kubernetes.io/master,kubernetes.io/role=master,master=true \ --node-labels=cluster-lifecycle-controller.zalan.do/replacement-strategy=ensure-minimum-healthy-nodes \ --node-labels=kubernetes.io/node-pool={{ .NodePool.Name }}{{if index .NodePool.ConfigItems "labels"}},{{.NodePool.ConfigItems.labels}}{{end}} \ - --node-labels=cluster-dns={{ .Cluster.ConfigItems.cluster_dns }} \ --node-labels={{ .Values.node_labels }} \ --pod-manifest-path=/etc/kubernetes/manifests \ --cluster-dns=${PRIVATE_EC2_IPV4} \ diff --git a/cluster/node-pools/worker-default/userdata.clc.yaml b/cluster/node-pools/worker-default/userdata.clc.yaml index 57c8b793e6..c0cd8e96ec 100644 --- a/cluster/node-pools/worker-default/userdata.clc.yaml +++ b/cluster/node-pools/worker-default/userdata.clc.yaml @@ -193,7 +193,6 @@ systemd: --node-labels=kubernetes.io/role=worker \ --node-labels=kubernetes.io/node-pool={{ .NodePool.Name }}{{if index .NodePool.ConfigItems "labels"}},{{.NodePool.ConfigItems.labels}}{{end}} \ --node-labels=${SPOT_LABEL} \ - --node-labels=cluster-dns={{ .Cluster.ConfigItems.cluster_dns }} \ {{- if eq .Cluster.ConfigItems.node_update_prepare_replacement_node "true" }} --node-labels=${REPLACEMENT_STRATEGY_LABEL} \ {{- end }}