You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.
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:
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:
tyk-k8s detects the ingress, generates API Definition + route and pushes to Dashboard / Gateway API
If tyk-k8s has been configured to know that Ingress type is LoadBalancer, then modify the ingress object to include the Tyk Load-balancer service LB endpoint (and needs to poll this)?
or is it: If tyk-k8s has been configured to know that Ingress type is LoadBalancer, then modify the ingress object to be the URL that has been specified for the ingress (i.e. host+path) since having the LB won't actually route since it requires the Host header to route properly?
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.
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: