Skip to content

Commit

Permalink
ci: optimize deployment resource request & limit (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
meziaris authored Mar 15, 2022
1 parent 73dc371 commit 9d65bd9
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/deployer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ jobs:
--set-string ingress.tls[0].secretName=debio-frontend-tls \
--set-string ingress.tls[0].hosts[0]=${{ secrets.INGRESS_HOST }} \
--set-string resources.requests.cpu=100m \
--set-string resources.requests.memory=256Mi \
--set-string resources.requests.memory=128Mi \
--set-string resources.limits.cpu=300m \
--set-string resources.limits.memory=512Mi \
--set-string resources.limits.memory=256Mi \
--set replicaCount=1 \
--set autoscaling.enabled=true \
--set autoscaling.minReplicas=1 \
--set autoscaling.maxReplicas=11 \
--set autoscaling.maxReplicas=1 \
--set-string nodeSelector.pool=general
kubectl rollout status deployment/debio-frontend
Expand Down Expand Up @@ -128,13 +128,13 @@ jobs:
--set-string ingress.tls[0].secretName=debio-frontend-tls \
--set-string ingress.tls[0].hosts[0]=${{ secrets.INGRESS_HOST }} \
--set-string resources.requests.cpu=100m \
--set-string resources.requests.memory=256Mi \
--set-string resources.requests.memory=128Mi \
--set-string resources.limits.cpu=300m \
--set-string resources.limits.memory=512Mi \
--set-string resources.limits.memory=256Mi \
--set replicaCount=1 \
--set autoscaling.enabled=true \
--set autoscaling.minReplicas=1 \
--set autoscaling.maxReplicas=11 \
--set autoscaling.maxReplicas=1 \
--set-string nodeSelector.pool=general
kubectl rollout status deployment/debio-frontend
Expand Down Expand Up @@ -178,9 +178,9 @@ jobs:
--set-string ingress.tls[0].secretName=debio-frontend-tls \
--set-string ingress.tls[0].hosts[0]=${{ secrets.INGRESS_HOST }} \
--set-string resources.requests.cpu=100m \
--set-string resources.requests.memory=256Mi \
--set-string resources.requests.memory=128Mi \
--set-string resources.limits.cpu=300m \
--set-string resources.limits.memory=512Mi \
--set-string resources.limits.memory=256Mi \
--set replicaCount=1 \
--set autoscaling.enabled=true \
--set autoscaling.minReplicas=1 \
Expand Down Expand Up @@ -228,12 +228,12 @@ jobs:
--set-string ingress.tls[0].secretName=debio-frontend-tls \
--set-string ingress.tls[0].hosts[0]=${{ secrets.INGRESS_HOST }} \
--set-string resources.requests.cpu=100m \
--set-string resources.requests.memory=256Mi \
--set-string resources.requests.memory=128Mi \
--set-string resources.limits.cpu=300m \
--set-string resources.limits.memory=512Mi \
--set replicaCount=2 \
--set-string resources.limits.memory=256Mi \
--set replicaCount=1 \
--set autoscaling.enabled=true \
--set autoscaling.minReplicas=2 \
--set autoscaling.minReplicas=1 \
--set autoscaling.maxReplicas=11 \
--set-string nodeSelector.pool=general
kubectl rollout status deployment/debio-frontend
Expand Down Expand Up @@ -278,12 +278,12 @@ jobs:
--set-string ingress.tls[0].secretName=debio-frontend-tls \
--set-string ingress.tls[0].hosts[0]=${{ secrets.INGRESS_HOST }} \
--set-string resources.requests.cpu=100m \
--set-string resources.requests.memory=256Mi \
--set-string resources.requests.memory=128Mi \
--set-string resources.limits.cpu=300m \
--set-string resources.limits.memory=512Mi \
--set replicaCount=2 \
--set-string resources.limits.memory=256Mi \
--set replicaCount=1 \
--set autoscaling.enabled=true \
--set autoscaling.minReplicas=2 \
--set autoscaling.minReplicas=1 \
--set autoscaling.maxReplicas=11 \
--set-string nodeSelector.pool=general
kubectl rollout status deployment/debio-frontend

0 comments on commit 9d65bd9

Please sign in to comment.