kubernetes-sigs / cluster-api-provider-gcp

The GCP provider implementation for Cluster API
Apache License 2.0
184 stars 198 forks source link

Support zonal not just regional GKE clusters #1309

Open jasonumiker opened 1 month ago

jasonumiker commented 1 month ago

It appears today (unless I've missed something) that it isn't possible to spin up zonal GKE clusters - just regional.

Since GCP allows one free zonal GKE cluster this is an important cost-savings measure ($0.10/hr or $876/year) for those of us doing testing/learning. https://cloud.google.com/kubernetes-engine/pricing#cluster_management_fee_and_free_tier

salasberryfin commented 4 days ago

Hi @jasonumiker, you can opt for explicitly configuring the region and failureDomain so that only one zone during provisioning which effectively means that the cluster becomes a zonal cluster. You can take a look at the Machine Locations section in the CAPG book. Could you confirm is this is the functionality you are referring to?