Terraform: How to create a Kubernetes cluster on Google Cloud (GKE) with namespaces?
问题 I'm after an example that would do the following: Create a Kubernetes cluster on GKE via Terraform's google_container_cluster ... and continue creating namespaces in it, I suppose via kubernetes_namespace The thing I'm not sure about is how to connect the newly created cluster and the namespace definition. For example, when adding google_container_node_pool , I can do something like cluster = "${google_container_cluster.hosting.name}" but I don't see anything similar for kubernetes_namespace