Skip to content

Commit a57cfe5

Browse files
author
Bengt Giger
committed
Added readiness probe to seb webservice
1 parent 88f6d22 commit a57cfe5

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

docker/ethz/cloud/kustomize/deployment-webservice.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,18 @@ spec:
6464
port: 8080
6565
initialDelaySeconds: 10
6666
periodSeconds: 5
67+
timeoutSeconds: 2
68+
failureThreshold: 5
69+
successThreshold: 1
70+
readinessProbe:
71+
httpGet:
72+
path: /sebserver/check
73+
port: 8080
74+
initialDelaySeconds: 10
75+
periodSeconds: 5
76+
timeoutSeconds: 2
77+
failureThreshold: 1
78+
successThreshold: 1
6779
volumeMounts:
6880
- name: application-properties
6981
mountPath: /sebserver/config/spring

0 commit comments

Comments
 (0)