From 64a1a8873172422caede406422c6ab0c7909dcae Mon Sep 17 00:00:00 2001 From: DIYgod Date: Mon, 17 Apr 2023 18:50:52 +0100 Subject: [PATCH] feat: increase xlog replicas and mem limit --- deploy/prod/deploy.yaml | 10 +++++----- deploy/prod/hpa.yaml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/deploy/prod/deploy.yaml b/deploy/prod/deploy.yaml index 3bec1db2..9342086e 100644 --- a/deploy/prod/deploy.yaml +++ b/deploy/prod/deploy.yaml @@ -5,7 +5,7 @@ metadata: namespace: crossbell spec: progressDeadlineSeconds: 600 - replicas: 5 + replicas: 8 revisionHistoryLimit: 5 selector: matchLabels: @@ -53,11 +53,11 @@ spec: protocol: TCP resources: requests: - memory: "1000Mi" - cpu: "150m" + memory: "1500Mi" + cpu: "200m" limits: - memory: "2000Mi" - cpu: "1500m" + memory: "2500Mi" + cpu: "2000m" terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: diff --git a/deploy/prod/hpa.yaml b/deploy/prod/hpa.yaml index 0a574a6d..f03c1387 100644 --- a/deploy/prod/hpa.yaml +++ b/deploy/prod/hpa.yaml @@ -4,8 +4,8 @@ metadata: name: xlog namespace: crossbell spec: - maxReplicas: 8 - minReplicas: 5 + maxReplicas: 11 + minReplicas: 8 scaleTargetRef: apiVersion: apps/v1 kind: Deployment