Open neitsab opened 6 months ago
Regarding the requirement for elevated permissions to use microk8s
, as an alternative to using sudo, instructions could be copied from https://ubuntu.com/kubernetes/install#tab-linux__content to "add your user to the microk8s admin group":
MicroK8s creates a group to enable seamless usage of commands which require admin privilege. Use the following commands to join the group:
sudo usermod -a -G microk8s $USER sudo chown -f -R $USER ~/.kube
You will also need to re-enter the session for the group update to take place:
su - $USER
Summary
The command examples provided at https://microk8s.io/#install-microk8s don't match the experience on a fresh Ubuntu Server 22.04.4 install:
sudo
is required for allmicrok8s
invocationsdns
addon is enabled by defaultistio
addon isn't spontaneously available anymore.Process
Current and expected result
First we observe that
sudo
is required formicrok8s
invocation:Secondly, that the
dns
addon is already enabled by default so trying to enable it manually proves redundant:Finally, that the
istio
addon isn't in the core repository anymore, leading to two different outcomes depending on the architecture:Versions
GNU/Linux 5.15.0-105-generic x86_64
orGNU/Linux 6.5.0-1021-oracle aarch64
microk8s (1.29/stable) v1.29.2 from Canonical✓ installed