This repository has been archived by the owner on Dec 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Geo DNS based load balancing policy #219
Labels
Comments
In a future iteration, we may also look to support "overriding" the gateway policy with a policy that directly targets a DNSRecord resource |
Dropped this out of the iteration for now since we really want the policy stuff to land before taking this on. #221 |
This was referenced Jun 15, 2023
Closed
Closed
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What
We currently only support Round Robin / Even weighted load balancing. We want to support GEO based load balancing. The idea here is that the DNS for a given listener will be setup based on geo metadata added to the managedcluster resource.
Initially we will focus on supporting continents but we should also consider what it means to support more fine grained options such as countries.
Example EU (Europe) NA (North America)
We will also need to support defining a default for when a request falls outside of a defined geo region
Use Cases
Proposal
Only a single DNSPolicy can be applied and we should use the creation timestamp as the decider with the oldest winning
https://gateway-api.sigs.k8s.io/references/policy-attachment/#conflict-resolution
This work should build on top of what was done with GLBC in the past to support this. Work originally done by @MNairn
One option is to support a set of attributes on the ManagedCluster resource
Add a reference to a DNSPolicy to the DNSRecord resource and DNSRecord reconciler follows that to figure out how to create the records. This reference should be a part of the status or an ownerref
using an owner ref may allow us to get events via the following mechanism
This implementation is for AWS only currently and expand based on the below investigation with follow up issues
The text was updated successfully, but these errors were encountered: