Fix large number of nginx worker issue
Override nginx "worker-processes" setting in ingress controller. Default value is changed from auto to 4 to reduce memory consumption by nginx worker processes. 4 worker can give 2 per platform CPU (in AIO) to avoid blocking all users in case that part of workers are blocked. The static override is done in the Armada manifest. Closes-Bug: #1823803 Change-Id: I1f92cf0c3fdfde41364abe65e4747d2091c4c3ea Signed-off-by: Yi Wang <yi.c.wang@intel.com>
This commit is contained in:
parent
f212a7ee5f
commit
f6e7130cab
|
@ -52,6 +52,9 @@ data:
|
|||
anti:
|
||||
type:
|
||||
default: requiredDuringSchedulingIgnoredDuringExecution
|
||||
conf:
|
||||
ingress:
|
||||
worker-processes: '4'
|
||||
source:
|
||||
type: tar
|
||||
location: http://172.17.0.1/helm_charts/ingress-0.1.0.tgz
|
||||
|
@ -97,6 +100,9 @@ data:
|
|||
anti:
|
||||
type:
|
||||
default: requiredDuringSchedulingIgnoredDuringExecution
|
||||
conf:
|
||||
ingress:
|
||||
worker-processes: '4'
|
||||
source:
|
||||
type: tar
|
||||
location: http://172.17.0.1/helm_charts/ingress-0.1.0.tgz
|
||||
|
|
Loading…
Reference in New Issue