Increase rabbitmq pod probe period from 10 to 30s

To reduce cpu usage on platform cores (especially on AIO), reduce the
frequency of the rabbitmq readiness and liveness probes from every 10s
to 30s.  These probes both run the command "rabbitmqctl status" which
seems to have significant cpu impact.

For reference, the platform rabbitmq process status check runs every
20s.

Partial-Bug: 1837426
Depends-On: https://review.opendev.org/#/c/677041
Change-Id: Ie8eea35b9ed268f4156d1cdc884a6d5004e87018
Signed-off-by: Gerry Kopec <gerry.kopec@windriver.com>
This commit is contained in:
Gerry Kopec 2019-08-16 15:55:54 -04:00
parent b1b7878bcb
commit bc62558b37
1 changed files with 5 additions and 0 deletions

View File

@ -311,6 +311,11 @@ data:
anti:
type:
default: requiredDuringSchedulingIgnoredDuringExecution
probes:
readiness:
periodSeconds: 30
liveness:
periodSeconds: 30
# TODO: Revert to upstream defaults once the following LP is resolved:
# https://bugs.launchpad.net/starlingx/+bug/1814595. By changing this PV
# size to 1Gi from the default 265Mi, this avoids the kernel hang from the