Skip to content

Commit 0aec2b5

Browse files
tahsinrahmank8s-ci-robot
authored andcommitted
Add node role (#170)
* Update .gitignore, add goland * Add node role
1 parent 642d563 commit 0aec2b5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ envfile
4646
.vscode
4747
.idea
4848

49+
# goland
50+
.idea
51+
4952
# Ignore output manifests
5053
cmd/clusterctl/examples/azure/out
5154
cmd/clusterctl/examples/azure/provider-components-base.yaml

pkg/cloud/azure/services/config/node.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ nodeRegistration:
4848
kubeletExtraArgs:
4949
cloud-provider: azure
5050
cloud-config: /etc/kubernetes/azure.json
51+
node-labels: "node-role.kubernetes.io/node="
5152
EOF
5253
5354
# Configure containerd prerequisites

0 commit comments

Comments
 (0)