Skip to content

Commit 6cca696

Browse files
authored
Add Node role (#70)
1 parent 42a569b commit 6cca696

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

templates/cluster-template-cilium.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ spec:
141141
metadata:
142142
labels:
143143
cluster.x-k8s.io/cluster-name: '${CLUSTER_NAME}'
144+
node-role.kubernetes.io/node: ""
144145
spec:
145146
clusterName: "${CLUSTER_NAME}"
146147
version: "${KUBERNETES_VERSION}"

templates/cluster-template-xl-nodes.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ spec:
138138
selector:
139139
matchLabels:
140140
template:
141+
metadata:
142+
labels:
143+
node-role.kubernetes.io/node: ""
141144
spec:
142145
clusterName: "${CLUSTER_NAME}"
143146
version: "${KUBERNETES_VERSION}"

templates/cluster-template.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ spec:
134134
selector:
135135
matchLabels:
136136
template:
137+
metadata:
138+
labels:
139+
node-role.kubernetes.io/node: ""
137140
spec:
138141
clusterName: "${CLUSTER_NAME}"
139142
version: "${KUBERNETES_VERSION}"

0 commit comments

Comments
 (0)