You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
rosskirkpat
changed the title
Windows worker nodes
With a Cloud Provider enabled, Windows worker nodes cannot join cluster due to DNS suffixes being passed to kubelet as commands
Oct 27, 2020
Deploy windows cluster - AWS cloud provider enabled, on k8s 1.18,1.17,1.16 and 1.15 (1 etcd/control, 1 worker node - linux nodes and 3 windows worker nodes)
Deploy PVC and LB
PVC and LB deployed successfully on all clusters except for this issue
What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):
Result:
kubelet will be unable to start due to interpreting the DNS suffix options as commands.
For example:
--hostname-override=ip-X-X-X-X.XXXXX.com gad.XXXXX.com apa.gad.XXXXX.com eur.gad.XXXXX.com gmea.gad.XXXXX.com nam.XXXXX.com us-east-1.compute.internal --feature-gates=HyperVContainer=true,WindowsGMSA=true
They will see the following when adding windows nodes in the kubelet logs:
10328 server.go:163] unknown command: apa.gad.XXXXX.com
Other details that may be helpful:
Issue can be addressed in the following powershell script by truncating to the first hostname returned.
https://github.com/rancher/rke-tools/blob/v0.1.65/windows/cloud-provider.psm1#L229-L232
gz#12873
The text was updated successfully, but these errors were encountered: