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.

Cannot install microk8s offline - failed with timeout

See original GitHub issue

Followed the instruction from https://microk8s.io/docs/install-alternatives#heading--offline, with the virtual network interface. on Ubuntu 20.04

Running the install command including --classic sudo snap install microk8s_3021.snap --classic

Getting an error

error: cannot perform the following tasks:

    Start snap "microk8s" (3021) services (systemctl command [start snap.microk8s.daemon-containerd.service] failed with exit status 1: Job for snap.microk8s.daemon-containerd.service failed because a timeout was exceeded. See "systemctl status snap.microk8s.daemon-containerd.service" and "journalctl -xe" for details.

Getting command not found when running snap.microk8s.daemon-containerd.service

Do not see any error of the microk8s using the journalctl -xe command

Any idea how to install microk8s in an offline environment?

I cannot run microk8s inspect as microk8s is not installed.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:17 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
nimi13commented, May 2, 2022

@neoaggelos It seems that the offline installation is working. Thank you very much for all your help and support!

1reaction
nimi13commented, Mar 31, 2022

my bad, I imported the images using microk8s ctr image import, look like it running, will test it

Read more comments on GitHub >

github_iconTop Results From Across the Web

Microk8s offline installation failed with timeout
Hi, Followed the instruction from MicroK8s - Alternative installs (MacOS/Windows 10/Multipass), with the virtual network interface.
Read more >
microk8s offline installation failed with timeout - Stack Overflow
error : cannot perform the following tasks: Start snap "microk8s" (3021) services (systemctl command [start snap.microk8s.daemon-containerd.
Read more >
Troubleshooting - MicroK8s
Ensure the hostname of your machine name does not contain capital letters or underscores. Kubernetes normalizes the machine name causing its registration to ......
Read more >
Unable to install microk8s on RaspberryPi due to ...
ubuntu@ubuntu:/var/log$ sudo snap install microk8s --classic 2020-09-09T18:37:53Z INFO Waiting for automatic snapd restart... error: cannot ...
Read more >
GitLab Runner Helm Chart
In the Installing GitLab Runner using the Helm Chart section, we called it gitlab-runner . Troubleshooting a Kubernetes installation. ERROR: Job failed (system ......
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