Deploying k0s to alpine

There's a couple of extra things that need to be done before you can run the k0s installer on an alpine host:

Start by enabling cgroups v2 and reboot:

#enable cgroups2
echo "rc_cgroup_mode=\"unified\"" >> /etc/rc.conf
reboot

Now start the cgroups service and add it to the startup scripts:

rc-service cgroups start
rc-update add cgroups

Now finally we need to ensure that k0s can access the node's "machine ID":

apk add dbus
rc-service dbus start
rc-update add dbus

That's it! That's the minimum needed to have k0s deployed to an alpine host.