I am started GKE cluster using Terraform (link), Now I am trying to release the helm charts on the cluster, and tried for "Nginx Ingress" helm chart which is as follow:
resource "helm_release" "ingress" {
name = "ingress"
repository = "https://kubernetes.github.io/ingress-nginx"
chart = "ingress-nginx"
}
Terraform Plan:
Terraform will perform the following actions:
# helm_release.ingress will be created
+ resource "helm_release" "ingress" {
+ chart = "ingress-nginx"
+ disable_webhooks = false
+ force_update = false
+ id = (known after apply)
+ metadata = (known after apply)
+ name = "ingress"
+ namespace = "default"
+ recreate_pods = false
+ repository = "https://kubernetes.github.io/ingress-nginx"
+ reuse = false
+ reuse_values = false
+ status = "DEPLOYED"
+ timeout = 300
+ verify = false
+ version = "2.3.0"
+ wait = true
}
But I am getting an error
Error: Kubernetes cluster unreachable: Get https://35.232.164.12/version?timeout=32s: dial tcp 35.232.164.12:443: i/o timeout
on helm.tf line 36, in resource "helm_release" "ingress":
36: resource "helm_release" "ingress" {