diff --git a/src/main/helm/templates/deployment.yaml b/src/main/helm/templates/deployment.yaml index c99926c431e62ae9895c18fead4ba6503653d409..2e56bc55f5389c9e1e3975d86563b2683f335073 100644 --- a/src/main/helm/templates/deployment.yaml +++ b/src/main/helm/templates/deployment.yaml @@ -152,8 +152,8 @@ spec: path: /q/health/started port: 8080 scheme: HTTP - initialDelaySeconds: 15 - periodSeconds: 5 + initialDelaySeconds: 30 + periodSeconds: 10 successThreshold: 1 timeoutSeconds: 5 {{- if .Values.enableLivenessProbe }} diff --git a/src/test/helm/deployment_liveness_probe_test.yaml b/src/test/helm/deployment_probes_test.yaml similarity index 68% rename from src/test/helm/deployment_liveness_probe_test.yaml rename to src/test/helm/deployment_probes_test.yaml index 195c0cc771f9e1c8dd0f98addc3356a642aa2288..65960acf5e28047ad31e305743d0ba52b506133c 100644 --- a/src/test/helm/deployment_liveness_probe_test.yaml +++ b/src/test/helm/deployment_probes_test.yaml @@ -60,3 +60,34 @@ tests: periodSeconds: 5 successThreshold: 1 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