Remove CPU/memory requests for FluxCD deployments

All platform pods are supposed to have no CPU resource requests as it
messes up the reported CPU allocations and reduces the amount of CPU
available to the customer applications. Nonetheless, the deployments
of FluxCD are requesting resources.

This change fixes it, leaving the limits as a safeguard so those pods
doesn't take too much resources from the system.

TEST PLAN
PASS Build CentOS ISO with change and verify that flux-helm resources
     were created without resource requests and are all up and running

Logs: https://paste.opendev.org/show/bEarxJu6DQ7g6MSfmJ3C/

Closes-Bug: #1975713

Signed-off-by: Thiago Brito <thiago.brito@windriver.com>
Change-Id: I31b29649e3011682dc7d9b0fe987d54c7232dc1a
This commit is contained in:
Thiago Brito 2022-05-25 10:18:59 -03:00 committed by Thiago Paiva Brito
parent ac78f71e04
commit b4cb6f05e5
1 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ spec:
cpu: 1000m
memory: 1Gi
requests:
cpu: 100m
cpu: 0
memory: 64Mi
securityContext:
allowPrivilegeEscalation: false
@ -130,7 +130,7 @@ spec:
cpu: 1000m
memory: 1Gi
requests:
cpu: 50m
cpu: 0
memory: 64Mi
securityContext:
allowPrivilegeEscalation: false