From a5c2efa5145bc891e35bb31cfe173e233eae8b09 Mon Sep 17 00:00:00 2001 From: Vitor Hideyoshi Date: Sun, 27 Oct 2024 03:01:04 -0300 Subject: [PATCH] Better CPU Values --- template/backend/backend.template.yaml | 2 +- template/frontend/frontend.template.yaml | 2 +- template/postgres/cn-cluster.template.yaml | 2 +- template/redis/redis.yaml | 2 +- template/storage/storage-processor.template.yaml | 2 +- template/storage/storage.template.yaml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/template/backend/backend.template.yaml b/template/backend/backend.template.yaml index d38c2ad..3954f22 100644 --- a/template/backend/backend.template.yaml +++ b/template/backend/backend.template.yaml @@ -37,7 +37,7 @@ spec: cpu: "250m" limits: memory: "256Mi" - cpu: "250m" + cpu: "1000m" ports: - containerPort: 8070 readinessProbe: diff --git a/template/frontend/frontend.template.yaml b/template/frontend/frontend.template.yaml index b71ccbd..30fc45a 100644 --- a/template/frontend/frontend.template.yaml +++ b/template/frontend/frontend.template.yaml @@ -38,7 +38,7 @@ spec: cpu: "75m" limits: memory: "128Mi" - cpu: "75m" + cpu: "256m" ports: - containerPort: 5000 readinessProbe: diff --git a/template/postgres/cn-cluster.template.yaml b/template/postgres/cn-cluster.template.yaml index f53bffb..db88994 100644 --- a/template/postgres/cn-cluster.template.yaml +++ b/template/postgres/cn-cluster.template.yaml @@ -17,7 +17,7 @@ spec: cpu: "50m" limits: memory: "128Mi" - cpu: "75m" + cpu: "256m" affinity: nodeSelector: diff --git a/template/redis/redis.yaml b/template/redis/redis.yaml index 93a1f40..0c3538a 100644 --- a/template/redis/redis.yaml +++ b/template/redis/redis.yaml @@ -23,7 +23,7 @@ spec: cpu: "75m" limits: memory: "256Mi" - cpu: "75m" + cpu: "256m" ports: - containerPort: 6379 env: diff --git a/template/storage/storage-processor.template.yaml b/template/storage/storage-processor.template.yaml index becbd58..59420b7 100644 --- a/template/storage/storage-processor.template.yaml +++ b/template/storage/storage-processor.template.yaml @@ -26,7 +26,7 @@ spec: cpu: "75m" limits: memory: "128Mi" - cpu: "75m" + cpu: "256m" readinessProbe: exec: command: diff --git a/template/storage/storage.template.yaml b/template/storage/storage.template.yaml index a408161..8757567 100644 --- a/template/storage/storage.template.yaml +++ b/template/storage/storage.template.yaml @@ -25,7 +25,7 @@ spec: cpu: "100m" limits: memory: "128Mi" - cpu: "100m" + cpu: "256m" ports: - containerPort: 8000 readinessProbe: