• Kubernetes provider for terraform: kubernetes_manifest

    2 min read

    Since version 2.8.0 of the Kubernetes provider for terraform, the kubernetes_manifest resource is no longer considered experimental. With this resource we can push any kind of Kubernetes objects using terrraform that doesn't have a specific resource for it:

    resource "kubernetes_manifest" "example_km" {
      manifest = yamldecode(<<-EOF
        apiVersion: v1
        kind: Namespace
        metadata:
          name: example-ns
          annotations:
            test: example
        EOF
      )
    }
    

    11/02/2022

    Read more...

From pet to cattle
Treat your kubernetes clusters like cattle, not pets