From 4b22da9e93fce560cf47880696f9b7cee09f3342 Mon Sep 17 00:00:00 2001 From: Jack Lucas Date: Thu, 9 Dec 2021 21:54:10 -0500 Subject: [DCAEGEN2] Update healthcheck to version 2.4.0 Add health checks for DCAE microservices deployed after the initial installation of dcaegen2-services. Issue-ID: DCAEGEN2-2959 Signed-off-by: Jack Lucas Change-Id: Ife7620b252641d0ac466f3bb977d826f6e955446 --- .../components/dcae-ms-healthcheck/templates/deployment.yaml | 2 ++ .../dcaegen2-services/components/dcae-ms-healthcheck/values.yaml | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'kubernetes/dcaegen2-services/components/dcae-ms-healthcheck') diff --git a/kubernetes/dcaegen2-services/components/dcae-ms-healthcheck/templates/deployment.yaml b/kubernetes/dcaegen2-services/components/dcae-ms-healthcheck/templates/deployment.yaml index 2b3ab328b5..4a51c7f9d8 100644 --- a/kubernetes/dcaegen2-services/components/dcae-ms-healthcheck/templates/deployment.yaml +++ b/kubernetes/dcaegen2-services/components/dcae-ms-healthcheck/templates/deployment.yaml @@ -59,6 +59,8 @@ spec: value: {{ include "common.namespace" . }} - name: HELM_RELEASE value: {{ include "common.release" . }} + - name: DEPLOY_LABEL + value: {{ .Values.deployLabel }} volumes: - name: {{ include "common.fullname" . }}-expected-components configMap: diff --git a/kubernetes/dcaegen2-services/components/dcae-ms-healthcheck/values.yaml b/kubernetes/dcaegen2-services/components/dcae-ms-healthcheck/values.yaml index 58ae706e0a..3b47e7f70e 100644 --- a/kubernetes/dcaegen2-services/components/dcae-ms-healthcheck/values.yaml +++ b/kubernetes/dcaegen2-services/components/dcae-ms-healthcheck/values.yaml @@ -31,6 +31,11 @@ service: - port: 8080 name: http +# Label on DCAE microservice deployments +# (Used by healthcheck code to find deployments +# created after initial DCAE installation) +deployLabel: dcaeMicroserviceName + # probe configuration parameters liveness: initialDelaySeconds: 10 @@ -43,7 +48,7 @@ readiness: initialDelaySeconds: 10 periodSeconds: 10 # application image -image: onap/org.onap.dcaegen2.deployments.healthcheck-container:2.3.0 +image: onap/org.onap.dcaegen2.deployments.healthcheck-container:2.4.0 # Resource Limit flavor -By Default using small flavor: small -- cgit 1.2.3-korg