-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
area/gateway-apiarea/maintenancemigrated-from-archiveIssues migrated from the archived KGO repositoryIssues migrated from the archived KGO repository
Milestone
Description
Problem Statement
For the purposes of clean kubectl get gateways output we're sorting addresses for Gateways based on whether or not they are LoadBalancer addresses (IPs or Hostnames). In practice most situations will only ever have a ClusterIP and a LoadBalancer IP, so this worked during the POC/pre-alpha stage to get the basics working but in the future when we have more than 2 addresses for Gateways this is not a consistent sort, AND we need to make a decision whether hostname or IP addresses should be prioritized.
Proposed Solution
- make the sorted of addresses for the
Gatewaystatus addresses consistent by introducing address type and address value sorting - decide on whether
hostnameoripaddresses should have the highest priority, for the purposes ofkubectl get gatewaysquick view output
Related Issues
Not necessarily a blocker but it might be good to take care of this one first:
- Kong/gateway-operator-archive#272
Acceptance Criteria
- when a
Servicehas more than 2 addresses, address sorting is consistent so that I'm not getting extra reconciles - the decision about which type of loadbalancer address has the highest precedence is documented
Metadata
Metadata
Assignees
Labels
area/gateway-apiarea/maintenancemigrated-from-archiveIssues migrated from the archived KGO repositoryIssues migrated from the archived KGO repository