I am planning to use microk8s on an IoT / Edge device running ubuntu 18.04 core in order to run edge services that interact with the device and stream data to the cloud. I am trying to figure out a provisioning model for the device whereby I can install microk8s and my services into it. So far my plan is to Netboot the devices when they come online and install a prebuilt image with Ubuntu 18.04 core, microk8s snap (preconfigured with add-ons) and an electron ui snap.
I would like to package my services into the microk8s snap as custom add-ons so that I don’t have to install using kubectl manifests or helm. Is that possible?