Set resources and probes
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
@@ -66,25 +66,25 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /app/uploads
|
- mountPath: /app/uploads
|
||||||
name: uploads
|
name: uploads
|
||||||
# livenessProbe:
|
livenessProbe:
|
||||||
# httpGet:
|
httpGet:
|
||||||
# path: /api/health
|
path: /api/ping
|
||||||
# port: 3000
|
port: 3000
|
||||||
# initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
# periodSeconds: 30
|
periodSeconds: 30
|
||||||
# readinessProbe:
|
readinessProbe:
|
||||||
# httpGet:
|
httpGet:
|
||||||
# path: /api/health
|
path: /api/ping
|
||||||
# port: 3000
|
port: 3000
|
||||||
# initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
# periodSeconds: 10
|
periodSeconds: 10
|
||||||
# resources:
|
resources:
|
||||||
# requests:
|
requests:
|
||||||
# cpu: 300m
|
cpu: 100m
|
||||||
# memory: 400Mi
|
memory: 150Mi
|
||||||
# limits:
|
limits:
|
||||||
# cpu: 700m
|
cpu: 200m
|
||||||
# memory: 800Mi
|
memory: 300Mi
|
||||||
volumes:
|
volumes:
|
||||||
- name: uploads
|
- name: uploads
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
|
|||||||
Reference in New Issue
Block a user