This project includes Terraform scripts for deploying Kubernetes on top of OpenStack or libvirt.
The whole process can be seen in this diagram:
We use Terraform for creating VMs that
will be provisioned with Salt later on.
However, we do not use vanilla Terraform scripts but some templates
that are processed by our k8s-setup
script (our own preprocessor
that internally uses erb). This process
can be controlled with some configuration variables
that can be used for specifying things like the VMs base image, the Salt scripts
directory, the number of worker nodes, etc
You can find more information about how to use this code in the following links:
- Requirements: the packages and images required.
- Terraform files generation: how to generate Terraform scripts.
- Cluster creation: creating the cluster with
terraform apply
- Salt orchestration: provisioning the VMs.
- Using the Kubernetes cluster
This project is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.