From bc62558b3767112520b6578cc312bfe17f807b93 Mon Sep 17 00:00:00 2001 From: Gerry Kopec Date: Fri, 16 Aug 2019 15:55:54 -0400 Subject: [PATCH] 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 --- .../stx-openstack-helm/manifests/manifest.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kubernetes/applications/stx-openstack/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml b/kubernetes/applications/stx-openstack/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml index 50372f5750..3b37e84d8d 100644 --- a/kubernetes/applications/stx-openstack/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml +++ b/kubernetes/applications/stx-openstack/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml @@ -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