diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-05-03 19:31:57 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-05-03 19:31:57 +0000 |
commit | 6c8fddaf607bd9e14621090ca090b38776ee03c8 (patch) | |
tree | 44104d472f44622a69c1a5e8619f9bff82e39806 /kubernetes/cds/components/cds-blueprints-processor/templates/deployment.yaml | |
parent | 3821e88f9aa7994dcdd1c724e61862ab2bf438a7 (diff) | |
parent | 08515b79a76d6e077ef28e157fcffeec22dc2ad2 (diff) |
Merge "[CDS] Add startup probe"
Diffstat (limited to 'kubernetes/cds/components/cds-blueprints-processor/templates/deployment.yaml')
-rwxr-xr-x | kubernetes/cds/components/cds-blueprints-processor/templates/deployment.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kubernetes/cds/components/cds-blueprints-processor/templates/deployment.yaml b/kubernetes/cds/components/cds-blueprints-processor/templates/deployment.yaml index 9645b20cd2..c2e034204c 100755 --- a/kubernetes/cds/components/cds-blueprints-processor/templates/deployment.yaml +++ b/kubernetes/cds/components/cds-blueprints-processor/templates/deployment.yaml @@ -123,6 +123,16 @@ spec: - containerPort: {{ .Values.service.http.internalPort }} - containerPort: {{ .Values.service.grpc.internalPort }} - containerPort: {{ .Values.service.cluster.internalPort }} + startupProbe: + httpGet: + path: /api/v1/execution-service/health-check + port: {{ .Values.service.http.internalPort }} + httpHeaders: + - name: Authorization + value: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw== + initialDelaySeconds: {{ .Values.startup.initialDelaySeconds }} + failureThreshold: {{ .Values.startup.failureThreshold }} + periodSeconds: {{ .Values.startup.periodSeconds }} # disable liveness probe when breakpoints set in debugger # so K8s doesn't restart unresponsive container {{ if .Values.liveness.enabled }} |