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