terraform configuration for Kubernetes clusters
Hi,
There's a couple of pull requests open which attempt to start converting the Kubernetes clusters we're using for build to be managed using Terraform:
Azure: https://github.com/kernelci/kernelci-deploy/pull/18
GKE: https://github.com/kernelci/kernelci-deploy/pull/33
The idea here is to make it easier to manage things, both for people doing deployment (since it makes things less manual) and for those working with developing things (since they can see how production is configured and propose changes without actually accessing it). Since I don't have any access to production I'm about at the limit of what I can do with this right now, there's some finishing on the configurations that should be done but that needs some configuration on the cloud side (eg, for allocating a storage bucket for terraform to store state in) and validation that what I've done does actually match what the current system does.
Discussing this at the weekly meetings it's seemed like people were broadly in favour of this approach but we need a plan for how we'd actually deploy it - do people have any thoughts on this? One suggestion was that we should start deploying this in parallel with the existing infrastructure and putting jobs through it, perhaps doing something like putting the new pipeline jobs through it it.
There was also some talk of also deploying some of the other cloudish bits (eg, a cloud mongo instance) like this, that does seem like a good idea if we're going with this approach.
Thanks,
Mark