Skip to content

Commit

Permalink
BC-6292 - change K8 probe (#3388)
Browse files Browse the repository at this point in the history
/login waas chosen because on THR, the / redirects to TSP

this will ensure K8 probes pass through the client application, so that no downtime happens. Also, in cause of trouble, would the pod restart should work better, etc
  • Loading branch information
virgilchiriac authored Jan 17, 2024
1 parent e612908 commit 77b6af2
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,21 +61,22 @@ spec:
name: http-headers
readinessProbe:
httpGet:
path: /version
# /login was chosen because on THR, the / redirects to TSP
path: /login
port: 3100
timeoutSeconds: 4
failureThreshold: 3
periodSeconds: 10
livenessProbe:
httpGet:
path: /version
path: /login
port: 3100
timeoutSeconds: 4
failureThreshold: 3
periodSeconds: 15
startupProbe:
httpGet:
path: /
path: /login
port: 3100
timeoutSeconds: 4
failureThreshold: 36
Expand Down

0 comments on commit 77b6af2

Please sign in to comment.