When we change from blue to green gke cluster, what is the best way to make sure incomming traffic instantly goes to the new cluster, with no client interruption?
We currently use CloudFlare api to keep the dns updated, but we would prefer not to wait for dns propagation.
We've considered the following:
- Reserved IP - Would result in a short downtime when reassigning the IP.
- Loadbalancer - Possible.
- Using another cluster as the Loadbalancer - Possible, but what about B/G switching on that cluster?
Edit: The reason we want this, is to be more flexible. We can currently create the new cluster, setup everything even with major changes, test it, and finally switch traffic over to the new cluster. The way we do now is using DNS, and setting the old cluster to forward to the new, but I want more control over this switch. We are doing blue/green inside the cluster also.