Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "fix(nginx): set service-upstream to "true"" #549

Merged
merged 1 commit into from
Aug 24, 2022

Conversation

hazzadous
Copy link
Contributor

I believe this doesn't play so well with e.g. http keepalive. Rather we want NGINX to know that a pod port has been removed from a Service Endpoint thereby being able to handle reaping these connections. As a result of using the Service, on ingress-nginx creating a connection, it is first iptable routed to a pod. After this, the connection will be maintained for 120 seconds which I think is fine as a setting fwiw.

ingress-nginx will still be sending requests down this connection, even after the pod port has been removed from the Endpoint, and getting 502 which isn't what we want.

I'm yet to test this however.

For reading material: https://learnk8s.io/kubernetes-long-lived-connections

Reverts #532

@guidoiaquinti guidoiaquinti added the bump patch Updates chart version by 0.0.1 label Aug 24, 2022
@hazzadous hazzadous merged commit 2948362 into main Aug 24, 2022
@hazzadous hazzadous deleted the revert-532-fix/use-service-upstream branch August 24, 2022 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump patch Updates chart version by 0.0.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants