Skip to content

Commit

Permalink
feat: add ressources quotas
Browse files Browse the repository at this point in the history
  • Loading branch information
Apoorva64 committed May 24, 2024
1 parent e57938a commit 6d222f8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions manifests/base/api-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,11 @@ spec:
- containerPort: 8080
hostPort: 8080
protocol: TCP
resources:
requests:
cpu: "100m"
memory: "128Mi"
limits:
cpu: "500m"
memory: "512Mi"
restartPolicy: Always
7 changes: 7 additions & 0 deletions manifests/base/nginx-cache-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,11 @@ spec:
- containerPort: 81
hostPort: 9081
protocol: TCP
resources:
requests:
cpu: "100m"
memory: "128Mi"
limits:
cpu: "500m"
memory: "512Mi"
restartPolicy: Always

0 comments on commit 6d222f8

Please sign in to comment.