Note: requires Terraform v0.13
This Terraform setup will:
- Start a droplet running
rancher/server
version specified inrancher_version
- Create environments named
cattle
andkubernetes
- Start
count_agent_cattle_nodes
of droplets and add them tocattle
environment - Start
count_agent_kubernetes_nodes
of droplets and add them tokubernetes
environment
All available options/variables are described in terraform.tfvars.example.
- Clone this repository
- Move the file
terraform.tfvars.example
toterraform.tfvars
and edit (see inline explanation) - Run
terraform apply