The gateway internally keeps track of the pods for the core service and load balances between them with the addition of providing cookie-based sticky sessions.
But the internal state of the gateway for the core service pods can become outdated and not get updated even though we listen to k8s events.
We can do a few things here:
- When we see that the gateway cannot reach the core service try to refresh the core service pods IPs in the gateway and try again
- Investigate how we got out of sync
The gateway internally keeps track of the pods for the core service and load balances between them with the addition of providing cookie-based sticky sessions.
But the internal state of the gateway for the core service pods can become outdated and not get updated even though we listen to k8s events.
We can do a few things here: