This message was deleted.
# rancher-desktop
a
This message was deleted.
s
Hi @better-wolf-9235! Thank you for re-posting your message here 🙂 Just to be sure I understand your question correctly. Do you want to downgrade your configured kubectl version in Rancher Desktop?
b
Nope I want to stop warning messages we are getting while access or switching to any of my in house clusters
I am not using K8s with Rancher dasktop, I am only using it to build images and push or pull to Repos
s
The warning message you are referring to is
Remote kubernetes server unreachable
, right?
c
Hi @better-wolf-9235, could check if you have multiple contexts inside
~/.kube/config
file?
Copy code
kubectl config get-contexts
b
@clever-mouse-42560 Yes I have around 12 K8s clusters in my config file and all are accessible.
I have checked and found that while we have Rancher dasktop running that time only I am getting above warning message. If I remove rancher Desktop then its working fine and not showing this error.
c
Ok, did you switch to the right context when you use the other clusters?
kubectl config use-context your-context
b
Ye we are using
kubectx
to switch between clusters
c
ok
b
one more thing in Rancher desktop I haven't enable Kubernetes settings. its uncheck along with enable Traefik
t
@better-wolf-9235 Did you ever enable Kubernetes in Rancher Desktop? Is there a version listed in the drop down? I haven't experienced this particular problem, but I don't have clusters running on that old a version of k8s.
I suspect that if you choose a version in the drop down closer to the version you are using then rancher-desktop may default to that when running kubectl.
Maybe it is also related to this.
w
you need to select a kubernetes version within the version skew policy https://kubernetes.io/releases/version-skew-policy/ (that shows latest version numbers, but same concept applies)
107 Views