'telepresence: error: connector.Connect: kubeconfig has no context definition

Unable to connect to k8s with telepresence. I using minikube as my util to manage k8s and using telepresence to develop my code with k8s. Sometimes it will work, but sometimes I cann't connect to k8s.

The command I used.

# start the k8s
minikube start
# connect
telepresence connect

Fail to connect to k8s with telepresence connect

Launching Telepresence Root Daemon
Launching Telepresence User Daemon
Telepresence Root Daemon quitting... done
Telepresence User Daemon is already stopped
telepresence: error: connector.Connect: kubeconfig has no context definition


Solution 1:[1]

I faced the same problem. So, I tried with different version.

In my case, v2.5.8 works well.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 ???