Specify user account for microk8s services

Is there a way to specify user account for all microk8s services without explicitly editing each service systemd/snap config?
Or should I just install microk8s under desired user account?
Thank you!

Unfortunately there is no way to specify a user account that will own the MicroK8s kubernetes services. As this is a limitation of snaps you can ask for such a feature over at the https://forum.snapcraft.io/ .

1 Like

Thank you!

Microk8s services run as root by default. I think there is a security risk with that.