Skip to content

Commit

Permalink
Update deployment to include resources
Browse files Browse the repository at this point in the history
  • Loading branch information
timwekkenbc committed Nov 12, 2024
1 parent eab88de commit 62e16e9
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,23 @@ spec:
image: '{{ .Values.image.tag }}'
ports:
- containerPort: 8080
resources: {}
resources:
limits:
cpu: 300m
memory: 750Mi
requests:
cpu: 200m
memory: 512Mi
readinessProbe:
httpGet:
path: /api/ruleData/list?page=1&pageSize=10
port: 3000
scheme: HTTP
initialDelaySeconds: 10
timeoutSeconds: 1
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
imagePullPolicy: Always
Expand Down

0 comments on commit 62e16e9

Please sign in to comment.