https://rancher.com/ logo
Title
h

handsome-toddler-59547

06/16/2022, 9:18 PM
Hi Folks. I'd like to control my k3s cluster from outside the cluster. The documentation provided here, provides part of the answer. However it doesnt describe how to install kubectl. The machine that I'd like to connect to the cluster from is a Fedora 36 machine. I am using k3s version
[root@M ~]# kubectl version
Client Version: <http://version.Info|version.Info>{Major:"1", Minor:"23", GitVersion:"v1.23.6+k3s1", GitCommit:"418c3fa858b69b12b9cefbcff0526f666a6236b9", GitTreeState:"clean", BuildDate:"2022-04-28T22:16:18Z", GoVersion:"go1.17.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: <http://version.Info|version.Info>{Major:"1", Minor:"23", GitVersion:"v1.23.6+k3s1", GitCommit:"418c3fa858b69b12b9cefbcff0526f666a6236b9", GitTreeState:"clean", BuildDate:"2022-04-28T22:16:18Z", GoVersion:"go1.17.5", Compiler:"gc", Platform:"linux/amd64"}
How do I install just kubectl on my fedora 36 machine?
c

creamy-pencil-82913

06/16/2022, 9:21 PM
h

handsome-toddler-59547

06/16/2022, 9:22 PM
ah.. ty sir. 🙂
i'll do that immediately
too cool!! ty!!!! @creamy-pencil-82913
(base) [dsargrad@localhost .kube]$ kubectl get nodes

NAME     STATUS   ROLES                  AGE    VERSION

w        Ready    <none>                 132m   v1.23.6+k3s1

master   Ready    control-plane,master   5h7m   v1.23.6+k3s1
it took me so long only because i documented what you showed me before doing it.. 9 minutes of documentation 30 seconds of process
s

sparse-baker-30606

06/21/2022, 7:55 AM
arkade get kubectl
or
arkade get kubectl  helm