https://rancher.com/ logo
Title
b

busy-easter-55684

09/07/2022, 8:31 AM
Is it possible that join a k8s work node into a k3s cluster?
👀 1
t

tall-school-18125

09/08/2022, 2:38 AM
yes, it's possible. The way to do it depends on if the k3s cluster is imported into rancher or installed by rancher. If it was imported, you would use the K3s CLI to add the node. If Rancher provisioned the cluster with node pools then you could ad the node through the Rancher UI
b

busy-easter-55684

09/08/2022, 3:20 AM
Thank you. Sounds good, And let me clear it. 1. now I have k3s server in wsl2 2. I want to join a windows k8s work node, like a normal k8s work node join a k8s cluster
So, you mean, I must use Rancher to do this, simple use k3s is not possible?
t

tall-school-18125

09/08/2022, 3:28 AM
I just mentioned Rancher because I wasn't sure if you were using Rancher or not. Rancher isn't required
b

busy-easter-55684

09/08/2022, 3:40 AM
No, I just used k3s installed, not related rancher yet.
t

tall-school-18125

09/08/2022, 3:46 AM
Oh but I just saw that you wanted to join a windows worker node. To my knowledge, the only way to get a windows node working in the cluster is to install the Kubernetes cluster through Rancher on existing nodes according to these docs https://rancher.com/docs/rancher/v2.6/en/cluster-provisioning/rke-clusters/windows-clusters/
b

busy-easter-55684

09/08/2022, 3:53 AM
Yes, because k8s support a windows node, So I want to join a k3s cluster. 1. There rke2 seems like just warper of k8s, it not related to k3s. 2. Is there something undoable in make a k8s windows node join the k3s cluster?