mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-16 14:29:09 +01:00
freshrss: add health probes
This commit is contained in:
1 parent
b9d88f41b9
commit
da23357946
1 file changed
+13
@@ -79,6 +79,19 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
# TCP, because mod_auth_openidc answers 401 to anything that isn't a
|
||||||
|
# browser.
|
||||||
|
readinessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: 80
|
||||||
|
periodSeconds: 10
|
||||||
|
livenessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: 80
|
||||||
|
initialDelaySeconds: 60
|
||||||
|
periodSeconds: 30
|
||||||
|
timeoutSeconds: 10
|
||||||
|
failureThreshold: 5
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /var/www/FreshRSS/data
|
- mountPath: /var/www/FreshRSS/data
|
||||||
name: data
|
name: data
|
||||||
|
|||||||
Reference in new issue
Block a user