A virtual testbed environment for Gardener.
You can watch a asciinema-demo here.
- Terraform must be installed (https://learn.hashicorp.com/tutorials/terraform/install-cli)
terraform/clouds.yaml
andterraform/secure.yaml
files must be created (https://docs.openstack.org/python-openstackclient/latest/configuration/index.html#clouds-yaml)- ospurge is required for project-cleanup (be careful):
python3 -m pip install git+https://git.openstack.org/openstack/ospurge
All relevant steps happen in the ./terraform folder
Copy secure.yaml.sample
to secure.yaml
and clouds.yaml.sample
to clouds.yaml
and fill in the correct credentials for your openstack-cloud.
Adjust variables in environment/standard.tfvars to suit your needs.
make sure that no other testbed is already in the project.
make create
creates the testbed:
- creates management VM on the openstack (including networks, secgroups, ...)
- creates bootstrap cluster via kind
- creates production-cluster via cluster-api
- deploys the external openstack-cloud-controller-manager
- deploys gardener (including dashboard and seed)
At the end of a successful deployment, the URL, email and password for the login will be displayed.
- Delete all Clusters inside gardener (via the dashboard or the API)
make
andsow burndown -A
in folderlandscape
make clean
make purge