https://rancher.com/ logo
Title
l

little-art-55288

03/01/2023, 5:09 PM
Hi, We have rancher setup (2.69), and we have created multiple EC2 provider clusters (RKE2). Now, we want to add windows worker nodes in existing ec2 provider clusters. Kindly advise if it is possible. Your support will be highly appreciated. Regards!
b

brainy-tomato-18651

03/01/2023, 5:13 PM
Windows? :melting_face:
l

little-art-55288

03/01/2023, 5:14 PM
yes, it is already support in customer clusters.
b

brainy-tomato-18651

03/01/2023, 5:15 PM
Why your are not using Ubuntu or Amazon Linux instead?
l

little-art-55288

03/01/2023, 5:15 PM
windows based containers will run on windows worker nodes only
b

brainy-tomato-18651

03/01/2023, 5:16 PM
And why you are not using linux based containers instead?
l

little-art-55288

03/01/2023, 5:16 PM
depends on the application needs
b

brainy-tomato-18651

03/01/2023, 5:17 PM
You mean you have applications that only are able to run on Windows Servers? and not Linux/Ubuntu?
l

little-art-55288

03/01/2023, 5:17 PM
yes
@miniature-megabyte-23048 kindly advise if this is possible 🙂 .
b

brainy-tomato-18651

03/01/2023, 5:23 PM
Your cluster already have worker nodes running not Windows Server Os?
l

little-art-55288

03/01/2023, 5:24 PM
yes, cluster has master nodes and worker nodes .. all linux ..
i want to add windows worker node now
b

brainy-tomato-18651

03/01/2023, 5:26 PM
Ok so, you can do it. You just need to build your EC2 template with Windows Server and when you add some new pool node you should pick de AMI ID
EC2 Template = AMI template
l

little-art-55288

03/01/2023, 5:56 PM
are you sure about this?
b

brainy-tomato-18651

03/01/2023, 5:58 PM
Never tried but according Rancher it’s possible
l

little-art-55288

03/01/2023, 5:59 PM
but did they mention if windows worker node can be added?
can you please share document link?
i already tried this option and it didn't work
b

brainy-tomato-18651

03/01/2023, 6:09 PM
hhmm..so according to the Rancher documentation, the only way to create a Kubernetes cluster with both Windows Server and Ubuntu nodes is to create a separate Kubernetes cluster for the Windows Server nodes and then set up a separate cluster for the Ubuntu nodes. Detailed information on how to create heterogeneous Kubernetes clusters with Rancher can be found at this link: https://ranchermanager.docs.rancher.com/v2.5/pages-for-subheaders/use-windows-clusters
l

little-art-55288

03/01/2023, 8:02 PM
you can have 1 custom cluster with both linux and windows worker nodes mixed.
it is already tested and working.
but i don't want to create new clusters to have windows worker nodes
i already have some ec2 provider clusters, and i want to add windows worker node in them. Is there a way to do it?
Do we have anyone from rancher team to confirm if it is officially supported by rancher?