Skip to content

Commit 5910030

Browse files
committed
chore: remove startup probe and increase timeout of readiness probe
1 parent dd1184d commit 5910030

File tree

1 file changed

+2
-15
lines changed
  • drydock/templates/drydock/k8s/lifecycle

1 file changed

+2
-15
lines changed

drydock/templates/drydock/k8s/lifecycle/lms.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,12 @@ spec:
1313
command:
1414
- "sleep"
1515
- "30"
16-
startupProbe: # Make sure the service has started correctly
17-
# We provide 10 * 5 seconds to the service to start before restarting the pod
18-
successThreshold: 1
19-
failureThreshold: 10
20-
initialDelaySeconds: 5
21-
timeoutSeconds: 3
22-
periodSeconds: 5
23-
httpGet:
24-
path: /heartbeat
25-
port: 8000
26-
httpHeaders:
27-
- name: Host
28-
value: {{ LMS_HOST }}
2916
readinessProbe: # Make sure the pod can answer traffic before handling any requests
3017
# Only route traffic if the pod is alive, and has passed two succesful checks (max 10s)
3118
successThreshold: 2
3219
failureThreshold: 2
33-
periodSeconds: 5
34-
timeoutSeconds: 3
20+
periodSeconds: 10
21+
timeoutSeconds: 5
3522
httpGet:
3623
path: /heartbeat
3724
port: 8000

0 commit comments

Comments
 (0)