Local utilities
- terraform
- talosctl
- kubectl
- yq
- cilium 1.15.7
- metrics-server 3.12.1
- rancher.io/local-path 0.0.26
- talos CCM edge, controller:
cloud-node
. - ingress-nginx 4.11.1
Use packer to upload the Talos image.
Generate the default talos config
make create-config create-templates
open config file terraform.tfvars and add params
# counts and type of kubernetes master nodes
controlplane = {
count = 1,
type = "COPARM1-2C-8G"
}
instances = {
"all" = {
version = "v1.30.2"
},
"fr-par-2" = {
web_count = 1,
web_type = "COPARM1-2C-8G",
worker_count = 1,
worker_type = "COPARM1-2C-8G",
},
}
Bootstrap all the infrastructure
make create-infrastructure
# see terraform output: controlplane_config
talosctl apply-config --insecure --nodes $IP --config-patch @_cfgs/controlplane-1.yaml --file _cfgs/controlplane.yaml
make bootstrap
make system