https://rancher.com/ logo
n

numerous-night-87848

10/14/2022, 9:40 PM
Hello! I’m getting started with rancher-desktop on macOS. I see this warning in diagnostics.
Copy code
Kubernetes is using context kind-argo instead of rancher-desktop.
What does this mean?
f

fast-garage-66093

10/14/2022, 9:55 PM
It means that in your
~/.kube/config
file you have another cluster defined, with the name
kind-argo
. So if you are running any
kubectl
or
helm
command from your shell, you will be talking to that cluster, and not the one provided by Rancher Desktop.
Or you would just get an error if that cluster was created a long time ago and no longer exists.
You can switch the context either using the Rancher Desktop tray icon, or from the commandline with
Copy code
kubectl config use-context rancher-desktop
n

numerous-night-87848

10/14/2022, 10:00 PM
Gotcha. Thanks!
From a usability perspective, it would be great to either have that hint in the warning itself or perhaps a link to a FAQ or documentation on the rancher desktop site.
f

fast-garage-66093

10/14/2022, 10:01 PM
I know; just about to copy your feedback to a thread about it. 🙂
n

numerous-night-87848

10/14/2022, 10:01 PM
(well, at least for us newbies 🙂 )
Cheers!
f

fast-garage-66093

10/14/2022, 10:03 PM
We just added the diagnostics feature in the 1.6.0 release, and it is mostly just plumbing so far; there are only a handful of checks so far. And we do have the functionality to add a link to the diagnostic, but it is currently empty because the corresponding doc landing page did not exist yet.
But I also think the message could provide mode information directly, as well as hints on how to fix it.
n

numerous-night-87848

10/14/2022, 10:04 PM
I do have multiple kube contexts available, so now that I know that that’s what it’s talking about, it makes sense.
Thanks for your help!
f

fast-garage-66093

10/14/2022, 10:06 PM
You are welcome!
20 Views