This message was deleted.
# rancher-desktop
a
This message was deleted.
f
The config file doesn't have a
current-context
, so maybe run
kubectl config use-context rancher-desktop
and see if that helps.
🙌 1
If it doesn't, try
kubectl.exe cluster-info
to run the Win32 version of the client, to verify if that one works or not.
i
Thank you,
kubectl config use-context rancher-desktop
done the job
b
@fast-garage-66093 I'm having a similar issue but
kubectl.exe
works and
kubectl
does not:
Copy code
11:48:01 worldofgeese@jahi ~ → kubectl get po -A
E1208 11:48:06.209675    1174 memcache.go:265] couldn't get current server API group list: Get "<https://gateway.rancher-desktop.internal:6443/api?timeout=32s>": dial tcp: lookup gateway.rancher-desktop.internal on 172.31.96.1:53: no such host
E1208 11:48:06.260217    1174 memcache.go:265] couldn't get current server API group list: Get "<https://gateway.rancher-desktop.internal:6443/api?timeout=32s>": dial tcp: lookup gateway.rancher-desktop.internal on 172.31.96.1:53: no such host
E1208 11:48:06.303091    1174 memcache.go:265] couldn't get current server API group list: Get "<https://gateway.rancher-desktop.internal:6443/api?timeout=32s>": dial tcp: lookup gateway.rancher-desktop.internal on 172.31.96.1:53: no such host
E1208 11:48:06.357049    1174 memcache.go:265] couldn't get current server API group list: Get "<https://gateway.rancher-desktop.internal:6443/api?timeout=32s>": dial tcp: lookup gateway.rancher-desktop.internal on 172.31.96.1:53: no such host
E1208 11:48:06.404357    1174 memcache.go:265] couldn't get current server API group list: Get "<https://gateway.rancher-desktop.internal:6443/api?timeout=32s>": dial tcp: lookup gateway.rancher-desktop.internal on 172.31.96.1:53: no such host
Unable to connect to the server: dial tcp: lookup gateway.rancher-desktop.internal on 172.31.96.1:53: no such host
[ble: exit 1]
11:48:06 worldofgeese@jahi ~ → kubectl.exe get po -A
NAMESPACE     NAME                                     READY   STATUS      RESTARTS       AGE
kube-system   helm-delete-traefik-crd-gghtl            0/1     Completed   0              66d
kube-system   helm-delete-traefik-wlfpn                0/1     Completed   0              66d
kube-system   coredns-77ccd57875-9nzff                 1/1     Running     36 (35m ago)   66d
kube-system   local-path-provisioner-957fdf8bc-l4z6x   1/1     Running     60 (35m ago)   66d
kube-system   metrics-server-648b5df564-g57vq          1/1     Running     58 (35m ago)   66d
11:48:28 worldofgeese@jahi ~ → which kubectl
/mnt/c/Program Files/Rancher Desktop/resources/resources/linux/bin//kubectl
Please disregard. I was able to solve with a Factory Reset.