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:
|
||||
- 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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue