Hi,
I was wondering whether microk8s is running well on a raspberry pi with Ubuntu core for lean management and automatic updates.
claims that it is possible, but requires to use a special strict version of the snap, since Ubuntu Core supports the strict mode only:
snap install microk8s --channel=latest/edge/strict
While the documentation shows version v1.22.3, I now do get v1.23.0
However, system does not get running. kubelite starts again, and again, consuming more than 100% CPU.
microk8s status
microk8s is not running. Use microk8s inspect for a deeper inspection.
microk8s inspect
Inspecting Certificates
Inspecting services
Service microk8s.daemon-cluster-agent is running
Service microk8s.daemon-containerd is running
Service microk8s.daemon-apiserver-kicker is running
Service microk8s.daemon-k8s-dqlite is running
Service microk8s.daemon-kubelite is running
Copy service arguments to the final report tarball
Inspecting AppArmor configuration
Gathering system information
Copy processes list to the final report tarball
Copy disk usage information to the final report tarball
Copy memory usage information to the final report tarball
Copy server uptime to the final report tarball
Copy openSSL information to the final report tarball
Copy network configuration to the final report tarball
Inspecting kubernetes cluster
Inspect kubernetes cluster
Fatal: can’t open lock file /run/xtables.lock: Permission denied
/snap/microk8s/2791/inspect.sh: line 198: /bin/mount: Permission denied
/snap/microk8s/2791/inspect.sh: line 199: /bin/mount: Permission denied
WARNING: The memory cgroup is not enabled.
The cluster may not be functioning properly. Please ensure cgroups are enabled
See for example: MicroK8s - Alternative installs (MacOS/Windows 10/Multipass)
cat: /proc/1/environ: Permission denied
Report tarball is at /var/snap/microk8s/2791/inspection-report-20220103_225849.tar.gz
so this is currently not working, while, on the other hand, I do assume that it once was working, otherwise they wouldn’t have made the instructions public.
What is the current state of this “strict” version?
Is this close to production ready, or should I drop Ubuntu Core and use Ubuntu Server instead?
regards