For setting up hosts with cluster-api and kubemark provider development environment. Including tools to build source code, docker, and kind.
- Create an instance, ubuntu 22.04 is recommended
- Update
inventory/hosts
if you need to change addresses - Run
ansible-playbook -K -i inventory setup_devel_environment.yaml
Once it is finished you will be able to login to the host as the devel user listed in the hosts file. All the development tools should be ready for access.
The Cluster API project has good support for Tilt. It can be easily added to a devel system.
- Modify
files/tilt-settings.yaml
as needed - Run
ansible-playing -K -i inventory add_tilt_to_devel_env.yaml
Once installed you can start using Tilt by following the Cluster API instructions.
This will build the clusterctl
binary and all the controller images, it will
also push the images to the local registry.
- Complete previous step
- Run
ansible-playbook -i inventory build_clusterctl_and_images.yaml