Hi, i am very new to Rancher and Kubernetes.
I would like to look at the running pods when I am connected directly to the cluster nodes. When I try to run kubectl I get the error “kubectl: command not found”
I can run through the Rancher UI, but not on the local host.
Is this possible?
You can install it on the host yourself if you want, but neither it nor the kubeconfig file for it know where to point are put on to the node by default.
When you use the shell in the UI you’re running it on a container which has kubectl in it and the kubeconfig passed in.
Ah, that make much more sense. Thank you.