https://rancher.com/ logo
Title
j

jolly-waitress-71272

07/12/2022, 7:55 PM
Does K3s still install its own kubectl? If so where?
c

creamy-pencil-82913

07/12/2022, 8:03 PM
the installer symlinks them for you if they don’t already exist
j

jolly-waitress-71272

07/12/2022, 8:11 PM
I don't want to tear everything down. What's the right way to get back onto the k3s preferred tools?
c

creamy-pencil-82913

07/12/2022, 8:27 PM
create the symlinks yourself? or modify your $PATH?
j

jolly-waitress-71272

07/12/2022, 9:09 PM
Right, but I'm having trouble understanding the vars in the linked section of the script.
c

creamy-pencil-82913

07/12/2022, 9:25 PM
root@ubuntu01:~# which kubectl
/usr/local/bin/kubectl
root@ubuntu01:~# ls -la /usr/local/bin/kubectl
lrwxrwxrwx 1 root root 3 Jul  5 20:46 /usr/local/bin/kubectl -> k3s
j

jolly-waitress-71272

07/13/2022, 3:07 PM
Ah, cool. Thanks a ton man. I didn't know that the k3s binary is the kubectl.