From c30aea05078555226b610db46282693892d670ad Mon Sep 17 00:00:00 2001 From: Ruslan Konviser Date: Wed, 7 Feb 2024 19:51:05 +0100 Subject: [PATCH] chore: optimize live configuration --- .deploy/k8s/k8s-manifest-api.dev.yaml | 6 ++++++ .deploy/k8s/k8s-manifest-api.prod.yaml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.deploy/k8s/k8s-manifest-api.dev.yaml b/.deploy/k8s/k8s-manifest-api.dev.yaml index 4c9f01c8a..152da82bf 100644 --- a/.deploy/k8s/k8s-manifest-api.dev.yaml +++ b/.deploy/k8s/k8s-manifest-api.dev.yaml @@ -38,6 +38,12 @@ spec: containers: - name: ever-teams-dev-api image: registry.digitalocean.com/ever/gauzy-api-demo:latest + resources: + requests: + memory: '1536Mi' + cpu: '1000m' + limits: + memory: '2048Mi' env: - name: API_HOST value: 0.0.0.0 diff --git a/.deploy/k8s/k8s-manifest-api.prod.yaml b/.deploy/k8s/k8s-manifest-api.prod.yaml index 3a82c54ae..11332f9d2 100644 --- a/.deploy/k8s/k8s-manifest-api.prod.yaml +++ b/.deploy/k8s/k8s-manifest-api.prod.yaml @@ -26,7 +26,7 @@ apiVersion: apps/v1 metadata: name: ever-teams-prod-api spec: - replicas: 3 + replicas: 6 selector: matchLabels: app: ever-teams-prod-api