Ubuntu Core 18 has snap built in, when trying to install it I get the following error:
$ sudo snap install microk8s
error: snap "microk8s" requires classic confinement which is only available on
classic systems
Ubuntu Core 18 has snap built in, when trying to install it I get the following error:
$ sudo snap install microk8s
error: snap "microk8s" requires classic confinement which is only available on
classic systems
Ubuntu Core only supports strictly confined snaps.
Ubuntu Core does not support
--classic
snaps. That is why you are seeing the "classic" error on a Core system, but not on a Cloud system.Here is an excerpt from the relevant release announcement (January 2017):
We are actively working on getting a strictly confined snap to allow MicroK8s to run on Ubuntu Core. There is a branch where you could follow the progress https://github.com/ubuntu/microk8s/tree/feature/jdb%2Fstrict . For now, the builds go in the latest/edge/strict channel. You can try this with:
sudo snap install microk8s --channel=latest/edge/strict
In case something does not work as you'd wish, we would appreciate your feedback. A simple inspection report should be enough (
microk8s inspect
). Thank you.