Lander Van den Bulcke
Lander Van den Bulcke is a Site Reliability Engineer at Oqton, with a strong focus on monitoring and observability.
Sessions
Deploying a Thanos setup across multiple Kubernetes clusters has quite some moving parts: all the Thanos components themselves, cloud storage buckets, Prometheus instances, Alertmanagers, TLS certificates for the GRPc connections, ... Managing all that can be a chore, but Terraform is an excellent candidate to automate away the complexity. By combining Terraform, K8s operators and a few special tricks, this talk will introduce a way of working where adding a new k8s cluster to your setup is just a matter of applying a terraform module.
Terraform is an awesome tool for managing infra state, but not everyone likes the HCL module system. CUE is an great language for abstracting away repetitive config, but is unaware of state. As luck may have it, Terraform accepts json as input, and CUE can write json as output, so we can combine the two for fun and profit!