Fix mariadb nginx worker number issue

Override nginx "worker-processes" setting in mariadb 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
Depends-On: https://review.opendev.org/#/c/659464/
Change-Id: If0e6d2b2ac45dedbd9e67b4f866702d9de1db15c
Signed-off-by: Yi Wang <yi.c.wang@intel.com>
This commit is contained in:
Yi Wang 2019-05-17 15:14:10 +08:00
parent f212a7ee5f
commit 6dfb75be64
1 changed files with 3 additions and 0 deletions

View File

@ -203,6 +203,9 @@ data:
anti:
type:
default: requiredDuringSchedulingIgnoredDuringExecution
conf:
ingress_conf:
worker-processes: '4'
source:
type: tar
location: http://172.17.0.1/helm_charts/mariadb-0.1.0.tgz