From f6c61075680a7030e768a451d76896f4c5500fa1 Mon Sep 17 00:00:00 2001 From: jooho Date: Wed, 15 Nov 2023 15:28:40 -0500 Subject: [PATCH] increase kserve controller limit resources(cpu/memory) Signed-off-by: jooho --- config/overlays/odh/kustomization.yaml | 2 +- .../overlays/odh/set-resources-manager-patch.yaml | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 config/overlays/odh/set-resources-manager-patch.yaml diff --git a/config/overlays/odh/kustomization.yaml b/config/overlays/odh/kustomization.yaml index b6ec033698..863bc66a36 100644 --- a/config/overlays/odh/kustomization.yaml +++ b/config/overlays/odh/kustomization.yaml @@ -10,6 +10,7 @@ namespace: opendatahub patches: - path: remove-namespace.yaml - path: inferenceservice-config-patch.yaml +- path: set-resources-manager-patch.yaml replacements: - source: @@ -56,4 +57,3 @@ vars: configurations: - params.yaml - diff --git a/config/overlays/odh/set-resources-manager-patch.yaml b/config/overlays/odh/set-resources-manager-patch.yaml new file mode 100644 index 0000000000..164e0cb5ad --- /dev/null +++ b/config/overlays/odh/set-resources-manager-patch.yaml @@ -0,0 +1,14 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: kserve-controller-manager + namespace: kserve +spec: + template: + spec: + containers: + - name: manager + resources: + limits: + cpu: 500m + memory: 500Mi