From c0c3be9010a8bc5bd7870539b0e709db13152b67 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 34d892b7..e3a4e5a9 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -66,9 +66,9 @@ spec: resources: limits: cpu: 500m - memory: 128Mi + memory: 256Mi requests: cpu: 10m - memory: 64Mi + memory: 128Mi serviceAccountName: controller-manager terminationGracePeriodSeconds: 10