From 47d52f4b7709c91c4fe98bb84c3d6dc06d143ae9 Mon Sep 17 00:00:00 2001 From: Marcos Paulo Oliveira Silva Date: Mon, 21 Aug 2023 16:08:19 -0300 Subject: [PATCH] Remove resource requests for sriov-fec-operator controller-manager pod Considering the change below, which will modify the sriov-fec-operator app to run on platform cores, this task disables the resource requests for the controller-manager pod in order to avoid any requests made by platform apps. What would be undesirable since such requests, currently, are being counted for application cores. Test plan: PASS - Check if the controller-manager pod are no longer requesting resources Story: 2010826 Task: 48657 Depends-On: https://review.opendev.org/c/starlingx/integ/+/891559 Change-Id: I0f1eda1f6176cb5f50db090d2926435c31ce0ef5 Signed-off-by: Marcos Paulo Oliveira Silva --- .../sriov-fec-operator/templates/deployment.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stx-sriov-fec-operator-helm/stx-sriov-fec-operator-helm/helm-charts/sriov-fec-operator/templates/deployment.yaml b/stx-sriov-fec-operator-helm/stx-sriov-fec-operator-helm/helm-charts/sriov-fec-operator/templates/deployment.yaml index 77a1bcd..f744ca2 100644 --- a/stx-sriov-fec-operator-helm/stx-sriov-fec-operator-helm/helm-charts/sriov-fec-operator/templates/deployment.yaml +++ b/stx-sriov-fec-operator-helm/stx-sriov-fec-operator-helm/helm-charts/sriov-fec-operator/templates/deployment.yaml @@ -80,8 +80,8 @@ spec: cpu: 200m memory: 100Mi requests: - cpu: 100m - memory: 20Mi + cpu: 0m + memory: 0Mi securityContext: allowPrivilegeEscalation: false readOnlyRootFilesystem: true @@ -106,8 +106,8 @@ spec: cpu: 500m memory: 128Mi requests: - cpu: 5m - memory: 64Mi + cpu: 0m + memory: 0Mi securityContext: allowPrivilegeEscalation: false runAsNonRoot: true