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 Apr 17, 2019. It is now read-only.
So the idea is to be really strict on the readiness probe in order that as soon as the preStop is called, we take out that machine from "balancing".
The readinessProbe check works: once the pod receives the preStop hook I can see that it goes to "Ready: false".
But the problem is that the nginx ingress controller pod continues to handle requests. So that when kubernetes shut down it, a number of requests return errors. (to be precise here is the error: Request 'standard' failed: java.io.IOException: Remotely closed)
@micheleorsi this bug was fixed in #1057 (no new image published yet)
failed: java.io.IOException: Remotely closed
This could not be an error. NGINX configuration enables keepalived so that could be the cause of this error. You can disable keepalived using a custom configuration.
I checked and actually with #1057 the IP are removed from the ingress ..
Now the problems seem to be on the F5 side that continues to see a port open and continue to redirect traffic.
I will try to work with the keepalive ..
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We are trying to define a configuration where no requests are lost while re-deploying of nginx-ingress-controller.
So we have this configuration
So the idea is to be really strict on the readiness probe in order that as soon as the preStop is called, we take out that machine from "balancing".
The readinessProbe check works: once the pod receives the preStop hook I can see that it goes to "Ready: false".
But the problem is that the nginx ingress controller pod continues to handle requests. So that when kubernetes shut down it, a number of requests return errors. (to be precise here is the error: Request 'standard' failed: java.io.IOException: Remotely closed)
This is some logging:
The strange thing is (in my opinion) that it recreates IP after it deletes it.
The ingress doesn't reflect the expected situation but it still has a lot of IP assigned for that specific rule.
I tried also to put the nginx -s quit in the preStop, but it is even worse because it continues to handle requests and then the nginx disappears.
The text was updated successfully, but these errors were encountered: