minishift: Error during post cluster up configuration: Error reading config file ~/.minishift/machines/minishift_kubeconfig

General information

  • Minishift version: v1.12.0+daa0943
  • OS: macOS
  • Hypervisor: VirtualBox

I am running 5.2.6 r120293 of VirtualBox. I already have minikube, gcloud (with kubectl) and Docker for Mac (Edge Channel) with Kubernetes support installed. I connect to k8s clusters hosted at GKE, locally on minikube and by Docker for Mac. Which is to say, I have an existing ~/.kube/config file.

I wanted to install minishift to try out the Istio Tutorial hosted by RedHat here

Steps to reproduce

  1. Download and installed minishift in /usr/local/bin
  2. Run (prompt)>minishift start --vm-driver=virtualbox
  3. Things seem to work well until I get the following error:
Error during post cluster up configuration: Error reading config file /Users/anasharm/.minishift/machines/minishift_kubeconfig

Expected

I was hoping that the post cluster configuration would work. It seems like I can run most of the commands (like minishift status and oc get projects) and they all seem to work right, but I saw this open issue - #1827. Sure enough, I ran into the same issue as well…

(prompt)>minishift openshift service nodejs-ex --in-browser
Error getting valid namespaces user belongs to.: exit status 1

Actual

Since there is no minishift_kubeconfig file, guess the error was expected. The oc command did not work. I found the binary inside ~/.minishift/cache/oc folder and had to create a symlink in /usr/local/bin.

Logs

Output from minishift start --show-libmachine-logs -v5 command is at this location: https://gist.github.com/indrayam/51f31abbbd67314a083e98d846ccc9e0

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 16 (9 by maintainers)

Commits related to this issue

Most upvoted comments

Here you go @praveenkumar config.txt

I have tried to clean up all my secrets by adding a “…” in between start and end characters. Hope I did not miss any 😉