-
Notifications
You must be signed in to change notification settings - Fork 558
Node labels don't get applied to Windows nodes #3266
Comments
This looks like a regression, #2770 should have fixed this a while ago. @JamesEarle if you have time could you take a look? |
@CecileRobertMichon @JamesEarle I picked through the setup script and found that if the network plugin is just "azure" (which is the default), it won't add the node labels to the kubelet's arguments, and thus the kubelet is invoked without them. There may also be an issue here regarding other mismatched kubelet arguments between The resolution to this issue would be to add the node labels to acs-engine/parts/k8s/kuberneteswindowssetup.ps1 Lines 312 to 314 in d9bd63b
I can take this on and open a PR. |
From my testing of #3753
|
Fixed, will be in next release :) |
Is this a request for help?:
No
Is this an ISSUE or FEATURE REQUEST? (choose one):
Issue
What version of acs-engine?:
acs-engine-v0.18.1-darwin-amd64, but I suspect all.
Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
Kubernetes
What happened:
Deploy a hybrid cluster with custom node labels on linux pools and windows pools, noticed that the custom node labels don't get applied to the windows nodes, and is in fact, missing many node labels altogether.
Linux pool:
Windows pool:
What you expected to happen:
The custom node labels should apply to the windows nodes.
How to reproduce it (as minimally and precisely as possible):
Add custom labels to a windows agent pool (or don't - it doesn't appear to add them regardless):
Anything else we need to know:
Seems like this is the problematic line:
acs-engine/parts/k8s/kuberneteswindowssetup.ps1
Line 47 in d9bd63b
The text was updated successfully, but these errors were encountered: