-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Nginx Ingress Controller - Specify load balancing method #656
Comments
Related: is Consider the case of multiple nginx controller pods (e.g., using a Deployment of DaemonSet). Assuming each Pod has the same nginx config (i.e., the upstream servers are listed in the same order), I think our current cluster setup is bumping up against this imbalance behavior. A few half-baked proposals to get better load balancing:
|
Chatted with @aledbf. He points out:
|
fixes in #673 |
The nginx ingress controller hard codes
least_conn
as the load balancing method.It would be helpful to specify the load balancing method per ingress resource. For example, via an annotation on the ingress resource.
Not all workloads perform well under
least_conn
, and the nginx documentation recommends experimenting with different load balancing methods. The ability to specify the method per ingress resource would facilitate this experimentation.The text was updated successfully, but these errors were encountered: