Install and start Flintlockd
Here we will provision your machine to act as a host for MicroVMs.
Firecracker
Flintlock is a wrapper around Firecracker and Cloud Hypervisor. In this exercise we are going to use Firecracker. We can install that with the same provisioning script as in the previous section.
sudo ./provision.sh firecracker
Output
Verify the installation with which firecracker.
Output
Flintlock
We can install and start the service with the same script:
sudo ./provision.sh flintlock --dev --insecure --bridge lmbr0 --grpc-address 0.0.0.0:9090
Ensure the argument to --bridge is the same as the one set in the network
setup step.
This command will:
- Install the latest version of
flintlockd - Create various state dirs
- Save a development config file under
/etc/opt/flintlockd/config.yaml - Start
flintlockdas asystemdservice
Output
Verify that the service started with systemctl status flintlockd.service.
Output
To verify the service is ready to accept requests, you can use either fl or
hammertime to perform simple queries:
hammertime list -a <address>:9090
fl microvm get --host <address>:9090
Because we bound the gRPC service to 0.0.0.0, the <address> in this case
will be the internal IP of your machine.
In the next step we can start to create our CAPI management cluster.