We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a53d5d2 commit 5824948Copy full SHA for 5824948
behavorial/SingletonService/deployment.yml
@@ -21,12 +21,16 @@ spec:
21
env:
22
# Tell random-generator to wait 5 seconds when starting up
23
- name: DELAY_STARTUP
24
- value: "5"
+ value: "10"
25
livenessProbe:
26
httpGet:
27
path: /actuator/health
28
port: 8080
29
initialDelaySeconds: 10
30
+ readinessProbe:
31
+ # We are checking for a file created by our app when its ready
32
+ exec:
33
+ command: [ "stat", "/opt/random-generator-ready" ]
34
ports:
35
- containerPort: 8080
36
protocol: TCP
0 commit comments