Open kourosh7 opened 7 months ago
Possibly related to https://github.com/rancher/rancher-docs/issues/997
Hello @kourosh7! I had some questions regarding the page refresh with respect to RKE2:
Any guidance much appreciated, thank you!
Hi @sunilarjun, sorry for the late reply.
For reference, you can see this RKE2 custom cluster created in Rancher using the flannel CNI does not give an option to register a Windows node:
Whereas, in this RKE2 custom cluster created in Rancher where calico is the CNI, you can clearly see an option to register a Windows node:
@kourosh7 Thank you for the response! I've adjusted my PR accordingly with the clarifications.
Summary
The Launching Kubernetes on Windows Clusters documentation should be revamped. It seems to have outdated info that was leftover from provisioning RKE1 Windows clusters which is now EOL.
Here are some items that I noticed are outdated/incorrect after provisioning a supported WIndows RKE2 cluster through Rancher:
You can only add Windows nodes to a cluster if Windows support is enabled when the cluster is created. Windows support cannot be enabled for existing clusters.
However, this is no longer the case on Windows RKE2 clusters.Kubernetes 1.15+ is required.
This should be updated to a supported K8s versionRancher only supports Windows using Flannel as the network provider.
But it is actuallycalico
in RKE2When you create or edit your cluster from the Rancher UI, you will see a Customize Node Run Command that you can run on each server to add it to your cluster.
That has changed to theRegistration Command
Calico
instead ofFlannel
, and there is no longer an extra option to enableWindows Support
or choose aFlannel Backend
Cluster Configuration
page, you will then have aRegistration
section which will allow you to selectNode Roles
in theStep 1
section. Then theStep 2
section will have theRegistration Command
you run on the nodes. The registration command for theWindows
node will become available when the cluster has working Linux nodes withetcd
,control plane
, andworker
roles active.