diff --git a/components/build-service/production/base/kustomization.yaml b/components/build-service/production/base/kustomization.yaml index 8a98a81b348..b708158078b 100644 --- a/components/build-service/production/base/kustomization.yaml +++ b/components/build-service/production/base/kustomization.yaml @@ -25,3 +25,6 @@ patches: components: - ../../components/rh-certs + +patches: + - path: manager_resources_patch.yaml diff --git a/components/build-service/production/base/manager_resources_patch.yaml b/components/build-service/production/base/manager_resources_patch.yaml new file mode 100644 index 00000000000..32205435387 --- /dev/null +++ b/components/build-service/production/base/manager_resources_patch.yaml @@ -0,0 +1,17 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: build-service-controller-manager + namespace: build-service +spec: + template: + spec: + containers: + - name: manager + resources: + limits: + cpu: 500m + memory: 2Gi + requests: + cpu: 250m + memory: 768Mi diff --git a/components/build-service/staging/base/kustomization.yaml b/components/build-service/staging/base/kustomization.yaml index 9f39caaabba..16f1d5ce359 100644 --- a/components/build-service/staging/base/kustomization.yaml +++ b/components/build-service/staging/base/kustomization.yaml @@ -17,3 +17,6 @@ commonAnnotations: components: - ../../components/rh-certs + +patches: + - path: manager_resources_patch.yaml diff --git a/components/build-service/staging/base/manager_resources_patch.yaml b/components/build-service/staging/base/manager_resources_patch.yaml new file mode 100644 index 00000000000..32205435387 --- /dev/null +++ b/components/build-service/staging/base/manager_resources_patch.yaml @@ -0,0 +1,17 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: build-service-controller-manager + namespace: build-service +spec: + template: + spec: + containers: + - name: manager + resources: + limits: + cpu: 500m + memory: 2Gi + requests: + cpu: 250m + memory: 768Mi diff --git a/components/image-controller/production/base/manager_resources_patch.yaml b/components/image-controller/production/base/manager_resources_patch.yaml index 972112ef47f..4063cedf72a 100644 --- a/components/image-controller/production/base/manager_resources_patch.yaml +++ b/components/image-controller/production/base/manager_resources_patch.yaml @@ -13,6 +13,6 @@ spec: cpu: 500m memory: 2Gi requests: - cpu: 100m - memory: 20Mi + cpu: 250m + memory: 1Gi diff --git a/components/image-controller/staging/base/manager_resources_patch.yaml b/components/image-controller/staging/base/manager_resources_patch.yaml index 972112ef47f..4063cedf72a 100644 --- a/components/image-controller/staging/base/manager_resources_patch.yaml +++ b/components/image-controller/staging/base/manager_resources_patch.yaml @@ -13,6 +13,6 @@ spec: cpu: 500m memory: 2Gi requests: - cpu: 100m - memory: 20Mi + cpu: 250m + memory: 1Gi