Problem to execute microk8s CLI MacOs BigSur 11.4
See original GitHub issueI have a Mac with BigSur v11.4 installed I followed the instructions to install MicroK8s on top of it. https://microk8s.io/docs/install-alternatives#heading--macos
The installation went successfully without any errors.
“microk8s install” installed perfectly too and I run it again I got that output:
microk8s install
MicroK8s is up and running. See the available commands with microk8s --help
However I can not execute any of others CLI commands"microk8s" commands such as “status”, “stop”, microk8s status sudo: microk8s.status: command not found An error occurred when trying to execute ‘sudo microk8s.status’ with ‘multipass’: returned exit code 1.
microk8s stop sudo: microk8s.stop: command not found An error occurred when trying to execute ‘sudo microk8s.stop’ with ‘multipass’: returned exit code 1.
Any Clue ? Any idea ? Any suggestions that could help me ?
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (4 by maintainers)
Top GitHub Comments
After Mac upgrade (Mac Monteray, 12.6.1), I got following error:
microk8s start
Somehow my VM failed to start and was stuck, executed
multipass list
to find the status of VM:multipass list
I then executed following command to recover:
and then finally reinstalled microk8s:
microk8s install
This finally fixed the issue.
You can get the kubeconfig file by running
microk8s config
.