From 370fcc643eb2a5ad5e200352afcadf964b19e32d Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Wed, 8 May 2024 20:05:26 +0200 Subject: [PATCH] feat(s3-csi): set resources --- s3-csi/kustomization.yaml | 9 +++++++++ s3-csi/patches/daemonset.yaml | 18 ++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 s3-csi/patches/daemonset.yaml diff --git a/s3-csi/kustomization.yaml b/s3-csi/kustomization.yaml index 7942051..86fa379 100644 --- a/s3-csi/kustomization.yaml +++ b/s3-csi/kustomization.yaml @@ -18,6 +18,15 @@ images: newName: code.icb4dc0.de/infrastructure/csi-s3 newTag: 0.38.3 +patches: + - target: + group: apps + kind: DaemonSet + version: v1 + name: csi-s3 + path: patches/daemonset.yaml + + helmCharts: - name: csi-s3 repo: https://yandex-cloud.github.io/k8s-csi-s3/charts/ diff --git a/s3-csi/patches/daemonset.yaml b/s3-csi/patches/daemonset.yaml new file mode 100644 index 0000000..ab48bb3 --- /dev/null +++ b/s3-csi/patches/daemonset.yaml @@ -0,0 +1,18 @@ +- op: add + path: "/spec/template/spec/containers/0/resources" + value: + requests: + cpu: 20m + memory: 15Mi + limits: + cpu: 20m + memory: 15Mi +- op: add + path: "/spec/template/spec/containers/1/resources" + value: + requests: + cpu: 20m + memory: 25Mi + limits: + cpu: 20m + memory: 25Mi