Skip to content

Commit 2e72a3e

Browse files
authored
Merge pull request #35 from SafeExamBrowser/fix-probes
Added readiness probe to seb webservice
2 parents 88f6d22 + a57cfe5 commit 2e72a3e

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)