question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

microk8s (Windows) command not found after fresh installation

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:25 (9 by maintainers)

github_iconTop GitHub Comments

7reactions
TibebeJScommented, Dec 20, 2020

I still have this issue on windows. the network test is fine (ping to 1.1.1.1 and netcraft works)

An error occurred when trying to execute 'sudo microk8s.status --wait-ready' with 'multipass': returned exit code 1.

Just run:

multipass exec microk8s-vm -- sudo snap install microk8s --classic

and it all should start working fine.

2reactions
mmattersdorfercommented, Jul 27, 2020

Trying to install microk8s snap manually ends in this:

multipass exec microk8s-vm -- sudo snap install microk8s --classic --channel=1.18/stable

error: cannot install "microk8s": persistent network error: Post https://api.snapcraft.io/v2/snaps/refresh: dial tcp: lookup api.snapcraft.io: Temporary failure in name resolution

Read more comments on GitHub >

github_iconTop Results From Across the Web

microk8s (Windows) command not found after fresh installation
An error occurred when trying to execute 'sudo microk8s.status --wait-ready' with 'multipass': returned exit code 1. or. sudo: microk8s.inspect: ...
Read more >
Troubleshooting - MicroK8s
Single command install on Linux, Windows and macOS. ... If a pod is not behaving as expected, the first port of call should...
Read more >
Alternative install methods for MicroK8s
MicroK8s is the simplest production-grade upstream K8s. Lightweight and focused. Single command install on Linux, Windows and macOS.
Read more >
Get started - MicroK8s
MicroK8s is the simplest production-grade upstream K8s. Lightweight and focused. Single command install on Linux, Windows and macOS.
Read more >
Command reference - MicroK8s
Single command install on Linux, Windows and macOS. ... All addons provided by the removed repository will not be available to MicroK8s anymore....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found