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

1/20/2022

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
-- DoneSpeak
kubernetes
minikube
telepresence

0 Answers