From b063272147859d76b5df5d1375fe177a9bd448bf Mon Sep 17 00:00:00 2001 From: Michael Kaplan Date: Sat, 2 Dec 2023 11:51:19 +0100 Subject: [PATCH] bump memory limts and scale --- .github/workflows/deploy.yaml | 4 +++- .github/workflows/run-tests.yaml | 2 +- deploy/helm/charts/kissj/templates/php-fpm.yaml | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 7ea05b3b..a48ac954 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -82,9 +82,11 @@ jobs: issuer: ${{ secrets.CERT_ISSUER}} php: - replicas: 3 + replicas: 20 hpa: enabled: true + maxReplicas: 30 + minReplicas: 10 volume: storageclass: ${{ secrets.STORAGE_CLASS }} diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 9e5ebf81..2814d977 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -1,4 +1,4 @@ -name: Staging +name: Tests on: pull_request: diff --git a/deploy/helm/charts/kissj/templates/php-fpm.yaml b/deploy/helm/charts/kissj/templates/php-fpm.yaml index 6428015a..ec013121 100644 --- a/deploy/helm/charts/kissj/templates/php-fpm.yaml +++ b/deploy/helm/charts/kissj/templates/php-fpm.yaml @@ -59,10 +59,10 @@ spec: protocol: TCP resources: requests: - memory: "1Gi" + memory: "2Gi" cpu: "500m" limits: - memory: "2Gi" + memory: "3Gi" cpu: "1000m" env: