chore(kavita): adjust deployment ports and probes

This commit is contained in:
David Landry 2023-11-05 22:01:25 -05:00
parent d35def6513
commit 58efac8437
2 changed files with 33 additions and 7 deletions

View file

@ -29,6 +29,23 @@ spec:
containers:
- image: kizaing/kavitaemail:latest
name: kavita-email
ports:
- name: http:
protocol: TCP
containerPort: 5003
livenessProbe:
httpGet:
path: /api/test
port: http
failureThreshold: 3
periodSeconds: 60
readinessProbe:
httpGet:
path: /api/test
port: http
initialDelaySeconds: 90
failureThreshold: 5
periodSeconds: 5
resources: {}
volumeMounts:
- mountPath: /app/config

View file

@ -46,14 +46,23 @@ spec:
- name: TZ
value: America/New_York
image: kizaing/kavita:latest
ports:
- name: http:
protocol: TCP
containerPort: 5000
livenessProbe:
exec:
command:
- curl --fail http://localhost:5000 || exit 1
failureThreshold: 3
initialDelaySeconds: 30
periodSeconds: 300
timeoutSeconds: 15
httpGet:
path: /api/health
port: http
failureThreshold: 5
initialDelaySeconds: 90
periodSeconds: 10
readinessProbe:
httpGet:
path: /api/health
port: http
failureThreshold: 5
periodSeconds: 10
name: kavita
resources: {}
volumeMounts: