Terraform v0.12.10
resource "google_container_cluster" "gke-cluster" {
provider = "google-beta"
name = "default-cluster"
network = google_compute_network.peering_network.self_link
location = europe-west3
initial_node_count = 1
node_config {
preemptible = false
machine_type = "n1-standard-1"
oauth_scopes = ["https://www.googleapis.com/auth/cloud-platform"]
}
ip_allocation_policy {
use_ip_aliases = true
}
private_cluster_config {
enable_private_nodes = true
enable_private_endpoint = false
master_ipv4_cidr_block = "172.16.2.0/28"
}
addons_config {
istio_config {
disabled = false
}
}
}
resource "google_compute_network" "peering_network" {
name = "peering-network"
}
On terraform destroy we expect istio load balancer resources to be deleted
after terraform destroy firewall rules, forwarding rules and target pools created by istio load balancer remain dangling without real connection to any cluster.
terraform applyterraform destroy*
Deletion of the Istio-managed resources should be done by GKE. I'll try and reproduce this, although I don't think I've seen it happening before.
Are you seeing errors during the delete requests / have you been able to capture debug logs when this happens?
I've reproduced this, and added this issue to an existing bug filed against the API. I'll post updates here if I get any; it could be worth filing an issue directly against the GKE team, though, since there's no current public issue I could find.
Most helpful comment
I've reproduced this, and added this issue to an existing bug filed against the API. I'll post updates here if I get any; it could be worth filing an issue directly against the GKE team, though, since there's no current public issue I could find.