Skip to content

Commit

Permalink
reduce resource requests
Browse files Browse the repository at this point in the history
  • Loading branch information
tronghn committed Oct 10, 2023
1 parent 80fb7e5 commit dc827ed
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 60 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,3 @@ jobs:
CLUSTER: dev-gcp
RESOURCE: .nais/${{ matrix.module }}.yaml,.nais/${{ matrix.module }}-token-generator.yaml
IMAGE: ${{ steps.build_push_sign.outputs.tag }}
- uses: nais/deploy/actions/deploy@fff9ae049178e5d3dca5c9600cf78acce63c0708 # ratchet:nais/deploy/actions/deploy@v1
if: matrix.module == 'azure'
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: dev-gcp
RESOURCE: .nais/azure-token-generator-nav.yaml
IMAGE: ${{ steps.build_push_sign.outputs.tag }}
41 changes: 0 additions & 41 deletions .nais/azure-token-generator-nav.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions .nais/azure-token-generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ spec:
resources:
limits:
cpu: "200m"
memory: "256Mi"
memory: "512Mi"
requests:
cpu: "50m"
memory: "256Mi"
cpu: "5m"
memory: "128Mi"
ingresses:
- https://azure-token-generator.intern.dev.nav.no
azure:
Expand Down
6 changes: 3 additions & 3 deletions .nais/azure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ spec:
resources:
limits:
cpu: "200m"
memory: "256Mi"
memory: "512Mi"
requests:
cpu: "50m"
memory: "256Mi"
cpu: "5m"
memory: "128Mi"
ingresses:
- https://wonderwalled-azure.intern.dev.nav.no
azure:
Expand Down
6 changes: 3 additions & 3 deletions .nais/idporten-token-generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ spec:
resources:
limits:
cpu: "200m"
memory: "256Mi"
memory: "512Mi"
requests:
cpu: "50m"
memory: "256Mi"
cpu: "5m"
memory: "128Mi"
ingresses:
- https://tokenx-token-generator.intern.dev.nav.no
idporten:
Expand Down
6 changes: 3 additions & 3 deletions .nais/idporten.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ spec:
resources:
limits:
cpu: "200m"
memory: "256Mi"
memory: "512Mi"
requests:
cpu: "50m"
memory: "256Mi"
cpu: "5m"
memory: "128Mi"
ingresses:
- https://wonderwalled-idporten.intern.dev.nav.no
idporten:
Expand Down

0 comments on commit dc827ed

Please sign in to comment.