https://rancher.com/ logo
Title
h

high-author-9583

03/05/2023, 9:36 AM
We are working to deploy ec2 instances through rancher 2.6.9 but qe also wana attach the window's node to that cluster. Is there a way?
a

agreeable-oil-87482

03/05/2023, 12:16 PM
h

high-author-9583

03/05/2023, 12:20 PM
Thanks David, we tried custom clusters, and it works. But is there a way to attah windows node to already deployed ec2 clusters? May be to generate a token from already deployed clusters and attach Windows node through bootstrap command?
a

agreeable-oil-87482

03/05/2023, 12:23 PM
Via the EC2 node driver? I don't believe so
h

high-author-9583

03/05/2023, 12:49 PM
When we create a custom cluster we get a bootstrap command to attach windows nodes, in that command -cachekum is same for every cluster, rest are the packages to install and the only thing different for each cluster is -token. Do you think is there a way to get that token from alreay deployed ec2 cluster provisioned by rancher?
b

big-hydrogen-97240

03/05/2023, 2:00 PM
There is a round-about way to achieve what you’re asking, but it is not supported. Even if you managed to get it working, there is no guarantee that it would continue to work. I don’t know the exact steps, but you would have to create a cluster registration token for the cluster you’re trying to add these nodes to and reconstruct the windows registration command from there. That is likely to work with some possible adjustments, but I don’t recommend trying this.
h

high-author-9583

03/05/2023, 2:14 PM
@little-art-55288
l

little-art-55288

03/06/2023, 7:53 AM
I agree with @big-hydrogen-97240 . Even if it works, we should not use such a solution for production.
lets conclude the issue like this. @high-author-9583