From d135f78a03e72c3072e9498a500d3d9f91a6c941 Mon Sep 17 00:00:00 2001 From: leila Date: Thu, 10 Nov 2022 14:27:16 -0500 Subject: [AAI] AAI logstructure and aai resources healthcheck enhancement AAI Traversal logging structure enhancement and image update AAI Graphadmin logging structure and image update AAI Resources logging structure and image update AAI Resources healthcheck based on cassandra DB healthcheck AAI Resources latency metrics configurations AAI Images updated with 1.10.1 Correct link for honolulu release note file Issue-ID: AAI-3606 Signed-off-by: leila Change-Id: I0aa21a463a85bff0407df6c6793baba53d1da3b1 --- .../aai-resources/templates/deployment.yaml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'kubernetes/aai/components/aai-resources/templates/deployment.yaml') diff --git a/kubernetes/aai/components/aai-resources/templates/deployment.yaml b/kubernetes/aai/components/aai-resources/templates/deployment.yaml index b5e89aa585..33aa97179e 100644 --- a/kubernetes/aai/components/aai-resources/templates/deployment.yaml +++ b/kubernetes/aai/components/aai-resources/templates/deployment.yaml @@ -203,14 +203,32 @@ spec: # so K8s doesn't restart unresponsive container {{- if .Values.liveness.enabled }} livenessProbe: - tcpSocket: + httpGet: + path: /aai/util/echo?action=checkDB port: {{ .Values.service.internalPort }} + scheme: HTTP{{ (eq "true" (include "common.needTLS" .)) | ternary "S" "" }} + httpHeaders: + - name: X-FromAppId + value: LivenessCheck + - name: X-TransactionId + value: LiveCheck_TID + - name: Accept + value: application/json initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }} periodSeconds: {{ .Values.liveness.periodSeconds }} {{- end }} readinessProbe: - tcpSocket: + httpGet: + path: /aai/util/echo?action=checkDB port: {{ .Values.service.internalPort }} + scheme: HTTP{{ (eq "true" (include "common.needTLS" .)) | ternary "S" "" }} + httpHeaders: + - name: X-FromAppId + value: ReadinessCheck + - name: X-TransactionId + value: ReadinessCheck_TID + - name: Accept + value: application/json initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }} periodSeconds: {{ .Values.readiness.periodSeconds }} resources: {{ include "common.resources" . | nindent 12 }} -- cgit 1.2.3-korg