Skip to content

Commit

Permalink
Bump controller manager memory request and limit
Browse files Browse the repository at this point in the history
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
  • Loading branch information
gibizer committed Jun 22, 2023
1 parent ec89feb commit c0c3be9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c0c3be9

Please sign in to comment.