Skip to content

Commit a946ec2

Browse files
authored
Add liveness probe (#445)
* Add liveness probe Adds the healthcheck already available for docker-compose deployments but now for the kubernetes statefulset
1 parent b44e89c commit a946ec2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

cluster/statefulset.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,16 @@ spec:
4545
mountPath: /config
4646
- name: satisfactory-data
4747
mountPath: /config/gamefiles
48+
livenessProbe:
49+
exec:
50+
command:
51+
- "/bin/sh"
52+
- "-c"
53+
- "/home/steam/healthcheck.sh"
54+
initialDelaySeconds: 300
55+
failureThreshold: 4
56+
successThreshold: 1
57+
periodSeconds: 30
4858
volumeClaimTemplates:
4959
- metadata:
5060
name: satisfactory-config

0 commit comments

Comments
 (0)