microk8s: microk8s (Windows) command not found after fresh installation
Please run microk8s inspect and attach the generated tarball to this issue. --> Sorry cannot run microk8s inspect
After fresh / first installation of microk8s on Windows 10 Pro (Version 1903) with the 2.0 installer, i cannot run microk8s commands. All commands are returning:
sudo: microk8s.status: command not found An error occurred when trying to execute ‘sudo microk8s.status --wait-ready’ with ‘multipass’: returned exit code 1.
or
sudo: microk8s.inspect: command not found An error occurred when trying to execute ‘sudo microk8s.inspect’ with ‘multipass’: returned exit code 1.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 25 (9 by maintainers)
Just run:
and it all should start working fine.
Trying to install microk8s snap manually ends in this:
multipass exec microk8s-vm -- sudo snap install microk8s --classic --channel=1.18/stableerror: cannot install "microk8s": persistent network error: Posthttps://api.snapcraft.io/v2/snaps/refresh: dial tcp: lookup api.snapcraft.io: Temporaryfailure in name resolutionHi everyone,
In addition to the excellent answer that fixed my issue on Windows:
multipass exec microk8s-vm -- sudo snap install microk8s --classicI had to create the personal config file by creating the MicroK8s folder and then:
microk8s config > configIt seems that something is not well explained in the installation guide…
Thanks.
Hi @joedborg ,
the firewall of my company vpn blocked the calls. I deactivted it and then the pings and installation worked. Also the microk8s commands are now working.
Thanks, Marcus
Hi!
Is there any update on this? I installed yesterday on Windows 10 pro version 2004 and I’m getting the same error. Path seems to be correct.
Thanks, Daniel.