adamant-kite-43734
08/29/2023, 9:32 PMhundreds-evening-84071
08/29/2023, 10:17 PMhundreds-evening-84071
08/29/2023, 10:18 PMkubectl --kubeconfig=/etc/rancher/rke2/rke2.yaml get no
hundreds-evening-84071
08/29/2023, 10:22 PMcp /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 confighundreds-evening-84071
08/29/2023, 10:24 PM