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

Allow configuring options for each server entry #516

Closed
julianvmodesto opened this issue Sep 20, 2017 · 3 comments
Closed

Allow configuring options for each server entry #516

julianvmodesto opened this issue Sep 20, 2017 · 3 comments
Milestone

Comments

@julianvmodesto
Copy link
Contributor

For all server entries in the HAProxy config, I would like to manage maxconn.

For example:

  server pod-100.103.160.82 100.103.160.82:8080 maxconn 1000
  server pod-100.112.130.212 100.112.130.212:8080 maxconn 1000

This would be possible if we allowed templating or adding options to the server directive.

@tamalsaha
Copy link
Contributor

tamalsaha commented Sep 21, 2017

We were planning to support this via annotations on pod. This will be similar to how the backend weight works currently.

Also related #491 (limit-* annotations)

@tamalsaha
Copy link
Contributor

Example:
ingress.appscode.com/max-connections: 3000

If applied on Ingress, this will be set as the global maxconn

If applied to Pod (via Deployment, etc), this will be on the server line like backend weight.

@tamalsaha
Copy link
Contributor

@tamalsaha tamalsaha added this to the 4.0.0 milestone Oct 4, 2017
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

4 participants