Skip to content
Snippets Groups Projects
Commit 9d225ccb authored by OZGCloud's avatar OZGCloud
Browse files

Merge pull request 'increase startup probe time' (#105) from startupprobe-increase-time into master

parents 7bf310bd 0936ab65
Branches
Tags
No related merge requests found
...@@ -152,8 +152,8 @@ spec: ...@@ -152,8 +152,8 @@ spec:
path: /q/health/started path: /q/health/started
port: 8080 port: 8080
scheme: HTTP scheme: HTTP
initialDelaySeconds: 15 initialDelaySeconds: 30
periodSeconds: 5 periodSeconds: 10
successThreshold: 1 successThreshold: 1
timeoutSeconds: 5 timeoutSeconds: 5
{{- if .Values.enableLivenessProbe }} {{- if .Values.enableLivenessProbe }}
......
...@@ -60,3 +60,34 @@ tests: ...@@ -60,3 +60,34 @@ tests:
periodSeconds: 5 periodSeconds: 5
successThreshold: 1 successThreshold: 1
timeoutSeconds: 5 timeoutSeconds: 5
- it: should have readiness probe
template: deployment.yaml
asserts:
- isSubset:
path: spec.template.spec.containers[0].readinessProbe
content:
failureThreshold: 3
httpGet:
path: /q/health/ready
port: 8080
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 3
- it: should have startup probe
template: deployment.yaml
asserts:
- isSubset:
path: spec.template.spec.containers[0].startupProbe
content:
failureThreshold: 10
httpGet:
path: /q/health/started
port: 8080
scheme: HTTP
initialDelaySeconds: 30
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment