3 comments

[ 3.0 ms ] story [ 21.0 ms ] thread
In my opinion, TF is for cloud infrastructure up to and including the creation of the kubernetes cluster. Use the Kubernetes API with kubectl, kustomize, helm, skaffold, k14s, etc. to deploy applications and resources on the kubernetes cluster. It is my experience that using TF to deploy k8s applications and resources is putting a square peg in a round hole. It works with toy examples and simple applications, but fails in more complicated scenarios (like dev/test/prod templates and overlays) where existing k8s tools are more appropriate.