Skip to content

Commit 30d3cf3

Browse files
committed
fix(ingress): Set nginx worker count to 1
Also cap controller sync rate. See kubernetes/ingress-nginx#8166 (comment)
1 parent b5bdcd7 commit 30d3cf3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

kubernetes/apps/network/ingress-nginx/external/helmrelease.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ spec:
7070
proxy-buffer-size: 16k
7171
ssl-protocols: TLSv1.3 TLSv1.2
7272
use-forwarded-headers: "true"
73+
worker-processes: 1
7374
metrics:
7475
enabled: true
7576
serviceMonitor:
@@ -78,6 +79,7 @@ spec:
7879
any: true
7980
extraArgs:
8081
default-ssl-certificate: "network/${SECRET_DOMAIN/./-}-staging-tls"
82+
sync-rate-limit: "0.008"
8183
topologySpreadConstraints:
8284
- maxSkew: 1
8385
topologyKey: kubernetes.io/hostname

kubernetes/apps/network/ingress-nginx/internal/helmrelease.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ spec:
6666
proxy-buffer-size: 16k
6767
ssl-protocols: TLSv1.3 TLSv1.2
6868
use-forwarded-headers: "true"
69+
worker-processes: 1
6970
metrics:
7071
enabled: true
7172
serviceMonitor:
@@ -74,6 +75,7 @@ spec:
7475
any: true
7576
extraArgs:
7677
default-ssl-certificate: "network/${SECRET_DOMAIN/./-}-staging-tls"
78+
sync-rate-limit: "0.008"
7779
topologySpreadConstraints:
7880
- maxSkew: 1
7981
topologyKey: kubernetes.io/hostname

0 commit comments

Comments
 (0)