|
|
|
|
|
by avbanks
1305 days ago
|
|
When you say "Kubernetes service provisioning" I'm assuming you mean Kubernetes application provisioning (k8s manifest)? But I'd be cautious of using Terraform to deploy k8's applications, it can be done but it has some drawbacks. One of the biggest issues is around interpolating k8s credentials in the provider config (you can google this for more details). "When using interpolation to pass credentials to the Kubernetes provider from other resources, these resources SHOULD NOT be created in the same Terraform module where Kubernetes provider resources are also used . This will lead to intermittent and unpredictable errors which are hard to debug and diagnose. The root issue lies with the order in which Terraform itself evaluates the provider blocks vs. actual resources." I'd recommend some solution such as argocd, flux, or if you're using a cloud provider such as azure they have automated deployments for k8s applications onto clusters (I'm sure aws has something similar). |
|