I have Nginx Ingress Controller which is deployed via official Helm chart, in the doc I saw that I can set max_conn
parameter, but I didn't get how to set it. I want to set it to 2, so that maximum of 2 clients could connect to my services. How do I set it? Should I set it in ingress controller values during helm install
of Ingress Controller or in Ingress manifest?
Asked
Active
Viewed 102 times
0

fedos 3d
- 59
- 5
1 Answers
0
From this document you can add these in the annotations
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: web-ingress
namespace: default
annotations:
nginx.org/max-conns: 2
Try this and let me know if this works
Found a similar stack question with a different approach which can help you to resolve your issues.

Sai Chandra Gadde
- 2,242
- 1
- 3
- 15