Kubernetes Cluster on Civo Cloud
Pre-requisites
Navigate to Civo Cloud setup folder setup/cluster/civo
:
Adjust terrraform.tfvars as per your cluster needs. |
Terraform Variables
Variable | Description |
---|---|
gloo_clusters |
The Civo Kubernetes cluster(s) configuration |
An example gloo_clusters
value:
gloo_clusters = {
gm-mgmt : {(1)
region = "LON1"(2)
target_nodes_size = "g3.k3s.large"(3)
num_nodes = 1(4)
role = "management"(5)
apps = ["-Traefik"](6)
}
1 | The cluster name, this will be the name of the kubernetes cluster |
2 | The region where cluster will be created |
3 | The number of Kubernetes worker nodes for the cluster |
4 | The role of the cluster, this matches to Cloud and Components |
5 | The applications to add/remove |
Create the cloud by running,
terraform init
terraform apply