mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-15 14:29:09 +01:00
serpbear: add health probes
This commit is contained in:
1 parent
da23357946
commit
d843f31d86
1 file changed
+13
@@ -56,6 +56,19 @@ spec:
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
protocol: TCP
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /login
|
||||
port: 3000
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
livenessProbe:
|
||||
tcpSocket:
|
||||
port: 3000
|
||||
initialDelaySeconds: 60
|
||||
periodSeconds: 30
|
||||
timeoutSeconds: 10
|
||||
failureThreshold: 5
|
||||
volumeMounts:
|
||||
- mountPath: /app/data
|
||||
name: data
|
||||
|
||||
Reference in new issue
Block a user