From dd3e3830df1f86ccbd58da8400599acc4dcaa3a1 Mon Sep 17 00:00:00 2001 From: Ariel Sosnovsky Date: Fri, 16 Feb 2024 13:01:55 -0500 Subject: [PATCH] wrap health --- k8s/apps/webapps/templates/deploy-apps.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/k8s/apps/webapps/templates/deploy-apps.yaml b/k8s/apps/webapps/templates/deploy-apps.yaml index 113be83..ddd6447 100644 --- a/k8s/apps/webapps/templates/deploy-apps.yaml +++ b/k8s/apps/webapps/templates/deploy-apps.yaml @@ -68,6 +68,7 @@ spec: protocol: UDP {{ end }} {{ end }} + {{ if $v.health }} {{- if $v.health.liveness }} livenessProbe: httpGet: @@ -88,6 +89,7 @@ spec: failureThreshold: 10 timeoutSeconds: 30 {{ end }} + {{ end }} startupProbe: tcpSocket: port: tcp-web