- Upload the talos image to the cloud
- Create networks
- Launch the loadbalancer
- Launch the controlplane
- Scale the cluster
First you need to prepare your compartment:
cd init
terraform init
terraform apply
It creats:
- compartment
- terraform account
- resources tags
- identity policy for terraform and CCM
./scripts/download
terraform init
terraform apply
- creates networks by zones and for zonal loadbalancer
- creates NAT for private networks
- creates security group and security list
make create-network
make create-lb
make create-config create-templates
- Check file
terraform.tfvars.json
- Create the
terraform.tfvars
like this
controlplane = {
count = 1
type = "VM.Standard.E4.Flex"
ocpus = 1
memgb = 4
}
instances = {
"jNdv:eu-amsterdam-1-AD-1" = {
web_count = 1,
web_instance_shape = "VM.Standard.E2.1.Micro",
web_instance_ocpus = 1,
web_instance_memgb = 1,
worker_count = 1,
worker_instance_shape = "VM.Standard.E2.1.Micro",
worker_instance_ocpus = 1,
worker_instance_memgb = 1,
},
}
terraform apply