-
Notifications
You must be signed in to change notification settings - Fork 5
Ingresses load balancer status should be updated #12
Comments
So the workflow would be:
or is it: If The thing is, with either of those options the controller doesn't update the ingress specs at all atm. So that's a whole new K8s API integration. Also, keeping them in sync, would the controller need to detect all ingresses that have the correct annotation (across namespaces), and then regularly poll them to update LB value? That could get v. tricky with the OSS approach where the controller is a sidecar, there's the possibility of multiple wasteful writes to the API. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, please comment if you would like this issue to remain open. Thank you for your contributions. |
This is not stale. |
When Tyk service is a
LoadBalancer
the ingress controller should update all the ingresses status with its IP/hostname, otherwise it leaves them such that e.g. k8s ExternalDNS, Rancher, etc. can't discover that connection properly.See how
status.loadBalancer
is empty in this ingress:While there's a LB service for the gateway:
Possible solutions are to specify in the config options the service, which should provide the LB info like Traefik does or auto-detect in the namespace like nginx does.
This also needs to be kept in sync in case LB service changes.
The text was updated successfully, but these errors were encountered: