adamant-kite-43734
08/01/2023, 11:27 AMbulky-sunset-52084
/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
worried-apple-61234
08/01/2023, 4:07 PMbulky-sunset-52084
worried-apple-61234
08/02/2023, 12:11 PM