From 0d5535fc3476bae23d4139ba620d7a354e07a84d Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Sun, 23 Jul 2023 08:36:39 +0000 Subject: [PATCH] fix: increase resources where necessary --- k8s/roles/coder/tasks/main.yml | 2 +- k8s/roles/minio/files/values.minio.yaml | 6 +++++- k8s/roles/prometheus/templates/values.yaml.j2 | 7 +++++++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/k8s/roles/coder/tasks/main.yml b/k8s/roles/coder/tasks/main.yml index 8bb210a..d3f7053 100644 --- a/k8s/roles/coder/tasks/main.yml +++ b/k8s/roles/coder/tasks/main.yml @@ -34,6 +34,6 @@ name: coder chart_ref: coderv2/coder release_namespace: coder - chart_version: 0.26.1 + chart_version: 0.27.1 update_repo_cache: true release_values: "{{ lookup('template', 'values.coder.yml.j2') | from_yaml }}" \ No newline at end of file diff --git a/k8s/roles/minio/files/values.minio.yaml b/k8s/roles/minio/files/values.minio.yaml index d985007..11b84d9 100644 --- a/k8s/roles/minio/files/values.minio.yaml +++ b/k8s/roles/minio/files/values.minio.yaml @@ -7,4 +7,8 @@ persistence: resources: requests: - memory: 150Mi + memory: 250Mi + cpu: 100m + limits: + memory: 384Mi + cpu: 250m diff --git a/k8s/roles/prometheus/templates/values.yaml.j2 b/k8s/roles/prometheus/templates/values.yaml.j2 index 6f9deff..b8a864f 100644 --- a/k8s/roles/prometheus/templates/values.yaml.j2 +++ b/k8s/roles/prometheus/templates/values.yaml.j2 @@ -31,6 +31,13 @@ prometheus: podMonitorNamespaceSelector: matchLabels: prometheus: default + resources: + requests: + memory: 3Gi + cpu: 500m + limits: + memory: 4Gi + cpu: 800m storageSpec: volumeClaimTemplate: spec: