-
Notifications
You must be signed in to change notification settings - Fork 779
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
Problem to execute microk8s CLI MacOs BigSur 11.4 #2396
Comments
On MacOs K8s runs in a VM that is driven by Multipass [1]. Could you check if Multipass is ok and that there is a MicroK8s VM running? |
Hi, Multipass is also installed successfull and the VM is running fine as you can see: |
If you get into the VM with |
Hi, Indeed as if it was not installed into the VM. Regarding the microk8s.inspect how I can invoke it ? Into the VM here is the output: |
Could it be /snap is not in the PATH? How does |
I was able to find out indeed that I had to execute manually the command into Multipass VM: in order to make it work. Not sure this is normal I had to run it manually as it is not clearly stated according to me in the doc : |
I still have a small issue. Indeed while executing the "microk8s kubectl" CLI commands into the Multipass VM it works fine. However when trying to invoke them from my Mac, I got: microk8s kubectl get pods --all-namespaces microk8s kubectl get nodes I guess one configuration step is also missing but don't know which ? |
You can get the kubeconfig file by running |
Great. I had to create by hand the directory ".microk8s" and the content of the |
I just installed microk8s on my mbp
And still see that the directory
|
Same issue for me as well in my Macbook.Post this snap installation getting microk8s working. |
After Mac upgrade (Mac Monteray, 12.6.1), I got following error:
Somehow my VM failed to start and was stuck, executed
I then executed following command to recover:
and then finally reinstalled microk8s: This finally fixed the issue. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I 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 ?
The text was updated successfully, but these errors were encountered: