mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 06:21:23 +00:00
fix(helm): use expected health endpoint (#1142)
the liveness / readiness probes were making requests to the root of the web server. this causes the health check to fail in some cases because a redirect may occur in unexpected ways Instead, we can test against the rails "up" health controller Signed-off-by: James Ward <james@notjam.es>
This commit is contained in:
@@ -314,7 +314,7 @@ web:
|
||||
# Probes
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
path: /up
|
||||
port: http
|
||||
initialDelaySeconds: 20
|
||||
periodSeconds: 10
|
||||
@@ -322,7 +322,7 @@ web:
|
||||
failureThreshold: 6
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
path: /up
|
||||
port: http
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 5
|
||||
@@ -330,7 +330,7 @@ web:
|
||||
failureThreshold: 6
|
||||
startupProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
path: /up
|
||||
port: http
|
||||
failureThreshold: 30
|
||||
periodSeconds: 5
|
||||
|
||||
Reference in New Issue
Block a user