Cloud DNS update to GKE Autopilot causing cluster replacement
Google have change Autopilot cluster to use Cloud DNS which replaces kube-dns. This will cause existing Autopilot clusters to be replaced due to the following:
dns_config { # forces replacement
- cluster_dns = "CLOUD_DNS" -> null
- cluster_dns_domain = "cluster.local" -> null
- cluster_dns_scope = "CLUSTER_SCOPE" -> null
}
The dns_config needs adding to the module for Autopilot clusters to prevent this occurring.