1
0
Fork 0

devtools/gerrit: add simple healthcheck

This should somewhat temporarily fix gerrit outright dying (ie. refusing
to accept any new http connections) for no reason once in a while.

Change-Id: Ie0dfcab020945d17010c012ecfae19f4c8c5c374
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1601
Reviewed-by: q3k <q3k@hackerspace.pl>
master
informatic 2023-09-17 21:43:51 +02:00 committed by informatic
parent 641fa54783
commit 69957c346f
1 changed files with 9 additions and 0 deletions

View File

@ -171,6 +171,15 @@ local kube = import "../../../kube/kube.libsonnet";
},
resources: cfg.resources,
volumeMounts_: volumeMounts,
livenessProbe: {
httpGet: {
path: "/",
port: 8080,
},
initialDelaySeconds: 60,
periodSeconds: 10,
},
},
},
},