From 608172ee8d36bf92bc693244030120045c494ced Mon Sep 17 00:00:00 2001 From: Azat Safin Date: Mon, 12 Sep 2022 12:11:59 +0300 Subject: [PATCH] improve liveness probe --- charts/odd-platform/templates/deployment.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/charts/odd-platform/templates/deployment.yaml b/charts/odd-platform/templates/deployment.yaml index 13e48fa..081547a 100644 --- a/charts/odd-platform/templates/deployment.yaml +++ b/charts/odd-platform/templates/deployment.yaml @@ -38,10 +38,12 @@ spec: containerPort: 8080 protocol: TCP livenessProbe: - tcpSocket: + httpGet: + path: /actuator/health port: http readinessProbe: - tcpSocket: + httpGet: + path: /actuator/health port: http resources: {{- toYaml .Values.resources | nindent 12 }}