Whe using an ALB Ingress in front of a ClusterIP gateway service, the controller doesn't pick the right Load Balancer Address #13806
Labels
area/ingress-controller
Issues where Kong is running as a Kubernetes Ingress Controller
area/kubernetes
Issues where Kong is running on top of Kubernetes
Is there an existing issue for this?
Kong version (
$ kong version
)Kong 3.7
Current Behavior
Whe using an AWS ALB Ingress in front of a ClusterIP gateway service, the controller doesn't pick the right Load Balancer Address.
Instead of using the DNS of the ALB Load Balancer created by the ALB Ingress, It picks the internal IP of the Cluster IP service.
As a workaround I had to set (On a second step) the
PUBLISH_STATUS_ADDRESS
environment variable with the value of the ALB Load Balancer endpoint.Expected Behavior
When using an Ingress in front of the gateway service (proxy.ingress.enabled = true) the controller should look at the ingress load balancer instead of the service's load balancer
Steps To Reproduce
Enable the proxy ingress and set the proxy type to Cluster IP
Add the proper ingress annotations to create an ALB.
Wait for Kong to reconcile the ingresses with type kong (or whatever ingress class you defined)
Anything else?
No response
The text was updated successfully, but these errors were encountered: