Skip to content

Upstream Pod Scaling Closes Connections #2197

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

Closed
trumpet2012 opened this issue Mar 13, 2018 · 1 comment
Closed

Upstream Pod Scaling Closes Connections #2197

trumpet2012 opened this issue Mar 13, 2018 · 1 comment

Comments

@trumpet2012
Copy link

Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see https://kubernetes.io/docs/tasks/debug-application-cluster/troubleshooting/.): Yes

What keywords did you search in NGINX Ingress controller issues before filing this one? (If you have found any duplicates, you should instead reply there.):

reloading, dropped connections

I found this closed issue: #489. They seemed to be having a similar problem.


Is this a BUG REPORT or FEATURE REQUEST? (choose one): Bug report

NGINX Ingress controller version: 0.11.0

Kubernetes version (use kubectl version): v1.7.4

Environment:

  • Cloud provider or hardware configuration: AWS
  • OS (e.g. from /etc/os-release): Debian GNU/Linux 8 (jessie)
  • Kernel (e.g. uname -a): Linux 4.4.78-k8s #1 SMP Fri Jul 28 01:28:39 UTC 2017 x86_64 GNU/Linux
  • Install tools:
  • Others:

What happened:
Pod scaling seems to close connections.

What you expected to happen:
Connections should not be closed when pods are added/removed from the ingress.

How to reproduce it (as minimally and precisely as possible):
Begin uploading a large file. While the file is uploading, scale the upstream pods. This causes the upload to get reset.

Anything else we need to know:
Enabling the service-upstream annotation resolved the issue. However then we would lose the load balancing capabilities of nginx.

@aledbf
Copy link
Member

aledbf commented Mar 18, 2018

Closing. This works as expected. That said after #2174 this should not be an issue. You can test that If using quay.io/aledbf/nginx-ingress-controller:0.341 with the flag --enable-dynamic-configuration=true in the deployment

@aledbf aledbf closed this as completed Mar 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants