Skip to content

Commit dd8f309

Browse files
Add liveness prob for the web service (#6342)
* Add liveness prob for the web service * Change liveness probe port to http-puma
1 parent a5f4949 commit dd8f309

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

config/deploy/web.yaml.erb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ spec:
4040
scheme: HTTP
4141
initialDelaySeconds: 30
4242
periodSeconds: 5
43+
livenessProbe:
44+
tcpSocket:
45+
port: http-puma
46+
initialDelaySeconds: 30
47+
periodSeconds: 10
48+
timeoutSeconds: 5
49+
failureThreshold: 6
4350
resources:
4451
<% if environment == 'production' %>
4552
requests:

0 commit comments

Comments
 (0)