Minikube: Validate presence of kubectl

Created on 26 Jul 2016  路  5Comments  路  Source: kubernetes/minikube

Hi,
I just installed the minikube and got this error while running the kubectl not found even though it says kubectl is configured to use with the cluster.My machine configuration:

  • Ubuntu Linux 16.04
  • Virtual Box

kubectl

kinfeature

Most helpful comment

I've reopened because I think minikube should check if kubectl is on the path, & either offer to download or display link to download location.

All 5 comments

I've reopened because I think minikube should check if kubectl is on the path, & either offer to download or display link to download location.

@jimmidyson Nice.I have a created a PR for the same at https://github.com/kubernetes/minikube/pull/398
But might needs some refactoring before merging

I would argue that it should just install kubectl. Providing users with a URL, which then requires them to look up their platform, and curl another URL, in order to install a binary isn't user-friendly.

@jberkus That's a nice idea.Maybe we can create a separate file in golang so that we can use it while installing kubectl for different operating systems.

Closing, minikube now validates the presence of kubectl with #783

Was this page helpful?
0 / 5 - 0 ratings