chore(kavita): adjust deployment ports and probes
This commit is contained in:
parent
d35def6513
commit
58efac8437
2 changed files with 33 additions and 7 deletions
|
|
@ -29,6 +29,23 @@ spec:
|
||||||
containers:
|
containers:
|
||||||
- image: kizaing/kavitaemail:latest
|
- image: kizaing/kavitaemail:latest
|
||||||
name: kavita-email
|
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: {}
|
resources: {}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /app/config
|
- mountPath: /app/config
|
||||||
|
|
|
||||||
|
|
@ -46,14 +46,23 @@ spec:
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: America/New_York
|
value: America/New_York
|
||||||
image: kizaing/kavita:latest
|
image: kizaing/kavita:latest
|
||||||
|
ports:
|
||||||
|
- name: http:
|
||||||
|
protocol: TCP
|
||||||
|
containerPort: 5000
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
exec:
|
httpGet:
|
||||||
command:
|
path: /api/health
|
||||||
- curl --fail http://localhost:5000 || exit 1
|
port: http
|
||||||
failureThreshold: 3
|
failureThreshold: 5
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 90
|
||||||
periodSeconds: 300
|
periodSeconds: 10
|
||||||
timeoutSeconds: 15
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /api/health
|
||||||
|
port: http
|
||||||
|
failureThreshold: 5
|
||||||
|
periodSeconds: 10
|
||||||
name: kavita
|
name: kavita
|
||||||
resources: {}
|
resources: {}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue