From 4b78ee33fd284b7f677840ca96c5739a7972e4c9 Mon Sep 17 00:00:00 2001 From: Balazs Gibizer Date: Thu, 22 Jun 2023 15:29:02 +0200 Subject: [PATCH] Bump controller manager memory request and limit Based on the measurement the main memory cost occurs at the startup of the controllers later during deployment of openstack services the operator memory consumption is fairly steady. The measurements shows that the current operator consumes close to 120Mi memory after init. So the resource request of the operator is bumped to from 64Mi to 128Mi and the limit is bumped from 128Mi to 256Mi. This was needed as we observed random OOM kills during operator startup. Related: https://issues.redhat.com/browse/OSP-25984 --- config/manager/manager.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index e624524..491586f 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -96,9 +96,9 @@ spec: resources: limits: cpu: 500m - memory: 128Mi + memory: 256Mi requests: cpu: 10m - memory: 64Mi + memory: 128Mi serviceAccountName: controller-manager terminationGracePeriodSeconds: 10