Skip to content

Commit

Permalink
Add resources/limits
Browse files Browse the repository at this point in the history
  • Loading branch information
gofman8 committed Jan 31, 2024
1 parent fedee48 commit a1b7034
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci-properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,11 @@
"dev_branch": "protofire-stg",
"dockerfile_path": "./",
"APP_ENV_VARS": {
},
"DEV_ENV_VARS": {
"INGRESS_HOSTNAME": "safe-apps.test.sovryn.app"
},
"PROD_ENV_VARS": {
"INGRESS_HOSTNAME": "safe-apps.sovryn.app"
}
}
14 changes: 8 additions & 6 deletions deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ spec:
- secretRef:
name: rootstock-safe-apps
name: web
resources: {}
resources:
requests:
memory: "128Mi"
cpu: "200m"
limits:
memory: "128Mi"
cpu: "400m"
ports:
- containerPort: 80
protocol: TCP
Expand All @@ -36,14 +42,10 @@ apiVersion: v1
kind: Service
metadata:
name: rootstock-safe-apps
annotations:
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: http
service.beta.kubernetes.io/aws-load-balancer-ssl-cert: arn:aws:acm:us-east-2:768438872063:certificate/9fa02b26-0ee5-4301-bdd6-8474344885ff
spec:
selector:
app: rootstock-safe-apps
ports:
- port: 443
targetPort: 80
type: LoadBalancer
---
type: NodePort

0 comments on commit a1b7034

Please sign in to comment.