This message was deleted.
# rke2
a
This message was deleted.
b
The kubeconfig is stored at
/etc/rancher/rke2/rke2.yaml
and the kubectl bin is stored at
/var/lib/rancher/rke2/bin/kubectl
So run this
/var/lib/rancher/rke2/bin/kubectl --kubeconfig /etc/rancher/rke2/rke2.yaml get nodes
w
this is true only in a node with etcd and/or control plane role but not a worker node
b
Can you copy those files to all the worker nodes? I guess I'm trying to better understand what you're trying to accomplish
w
the long story short is that I am trying to deploy a mixed cluster with Linux and Windows worker nodes in GCP and on Windows nodes I am having a problem registering nodes because GCP uses ip 169.254.169.254 for metadata and this IP is also used from kublet (my suspect). I have found a workaround to recreate on registration or in restart of the windows note the route and it works for some min because kublet overwrite it after some minutes. So my idea is to run on node a script to check the status on cluster and if the status is not READY to recreate route for IP 169.254.169.254 Looks like windows community is not strong and I am trying to find a fix