microk8s: Cannot install microk8s offline - failed with timeout

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.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 18 (7 by maintainers)

Most upvoted comments

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

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