Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot create minikube with hyperkit #12878

Closed
leeadh opened this issue Nov 7, 2021 · 2 comments
Closed

Cannot create minikube with hyperkit #12878

leeadh opened this issue Nov 7, 2021 · 2 comments
Labels
co/kubeconfig Issues relating to updating kubeconfig kind/support Categorizes issue or PR as a support question.

Comments

@leeadh
Copy link

leeadh commented Nov 7, 2021

Steps to reproduce the issue:

Cannot create minikube with hyperkit.

logs.txt

Run minikube logs --file=logs.txt and drag and drop the log file into this issue

Full output of failed command if not minikube start:

@spowelljr
Copy link
Member

Hi @leeadh, thanks for reporting your issue with minikube!

It looks like your kubeconfig is invalid:
❌ Exiting due to GUEST_START: Failed kubeconfig update: could not read config: Error decoding config from data: An error occurred when trying to execute 'sudo microk8s.config' with 'multipass': returned exit code 1. : Object 'Kind' is missing in 'An error occurred when trying to execute 'sudo microk8s.config' with 'multipass': returned exit code 1.

The part that's invalid looks to be related to microk8s and not minikube.

You can fix your config manually, it's located at ~/.kube/config or you can delete it and minikube will recreate its part of the config.

@spowelljr spowelljr added co/kubeconfig Issues relating to updating kubeconfig kind/support Categorizes issue or PR as a support question. labels Nov 8, 2021
@sharifelgamal
Copy link
Collaborator

Hey @leeadh, I'm going to go ahead and close this issue. If you try the advice above and still have an issue, feel free to reopen this with more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/kubeconfig Issues relating to updating kubeconfig kind/support Categorizes issue or PR as a support question.
Projects
None yet
Development

No branches or pull requests

3 participants