diff options
author | leila <leila.nishimwe@bell.ca> | 2022-11-10 14:27:16 -0500 |
---|---|---|
committer | leila <leila.nishimwe@bell.ca> | 2023-01-30 11:01:54 -0500 |
commit | d135f78a03e72c3072e9498a500d3d9f91a6c941 (patch) | |
tree | abcb6d8c74caf73b87d48e72d94dff45a1c4ea9e /kubernetes/aai/components/aai-resources/templates | |
parent | 0520c40c2387f615b8f76eb277f6b9ef032167ad (diff) |
[AAI] AAI logstructure and aai resources healthcheck enhancementjakarta
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 <leila.nishimwe@bell.ca>
Change-Id: I0aa21a463a85bff0407df6c6793baba53d1da3b1
Diffstat (limited to 'kubernetes/aai/components/aai-resources/templates')
-rw-r--r-- | kubernetes/aai/components/aai-resources/templates/deployment.yaml | 22 |
1 files changed, 20 insertions, 2 deletions
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 }} |