Skip to content

Commit

Permalink
added ressource limits
Browse files Browse the repository at this point in the history
  • Loading branch information
wlanboy committed Jun 16, 2024
1 parent b2addd1 commit d0c27b0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions goservice-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: goservice
name: goservice
Expand All @@ -14,7 +13,6 @@ spec:
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: goservice
spec:
Expand All @@ -24,5 +22,11 @@ spec:
imagePullPolicy: Always
ports:
- containerPort: 8000
resources: {}
resources:
limits:
cpu: "1"
memory: "256Mi"
requests:
cpu: "0.5"
memory: "128Mi"
status: {}

0 comments on commit d0c27b0

Please sign in to comment.