This message was deleted.
# general
a
This message was deleted.
h
kubeconfig is not config.yaml file
it should be rke2.yaml... for example:
kubectl --kubeconfig=/etc/rancher/rke2/rke2.yaml get no
If that works then: you can copy that to ~/.kube/config
cp /etc/rancher/rke2/rke2.yaml ~/.kube/config
Now, you can simply run
kubectl
without specifying
--kubeconfig
option yes that (.kube) is a hidden dir in your user's home dir and filename is just config
okay - nevermind I see you also posted in k3s channel and getting help from there