mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-15 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:
|
||||
- containerPort: 80
|
||||
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:
|
||||
- mountPath: /var/www/FreshRSS/data
|
||||
name: data
|
||||
|
||||
Reference in new issue
Block a user