Bootstrap flow
- Install ubuntu 18.04 OS with our customized ISO. This is no-attened installation, no user-input. As simple as plugin the USB and press power-on button.
- Edit config file and run script/ansible to deploy all kinds of services.
What's inside the ISO
We use mkisofs to build the ISO from a directory name preseed_ubuntu
...
As the infra-local-controller is supposed not having Internet access, we have to prepare everything into the ISO. Every service should have a preparation script which prepares every files needed for setting up the service. For example, we need to have a preparation script for Kubernetes service , to download kubelet package and kube-api image. All the preparation scripts are called before mkisofs.
...