From e3bf100bf25d91d0badd687c9e9a82e1184b24f1 Mon Sep 17 00:00:00 2001 From: lingyuguo <30824318+lingyuguo@users.noreply.github.com> Date: Mon, 22 Apr 2024 10:37:02 +0800 Subject: [PATCH] Update dongtai-worker-high-freq.yaml --- .../deployments/dongtai-worker-high-freq.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/deploy/kubernetes/helm/templates/deployments/dongtai-worker-high-freq.yaml b/deploy/kubernetes/helm/templates/deployments/dongtai-worker-high-freq.yaml index f8788ac1..32729487 100644 --- a/deploy/kubernetes/helm/templates/deployments/dongtai-worker-high-freq.yaml +++ b/deploy/kubernetes/helm/templates/deployments/dongtai-worker-high-freq.yaml @@ -40,8 +40,14 @@ spec: env: - name: DONGTAI_CONCURRENCY value: {{.Values.build.env_high}} + {{- if .Values.httphealthcheck }} + - name: HTTP_HEALTH_CHECK_PORT + value: "1234" + {{- end }} {{- include "deploy.config" . | nindent 10 }} - {{- if .Values.healthcheck }} + {{- if .Values.tcphealthcheck }} {{- include "deploy.Probe" . | nindent 10 }} + {{- else if .Values.httphealthcheck }} + {{- include "deploy.HttpProbe" . | nindent 10 }} {{- end }} - {{- include "deploy.config.vo" . | nindent 6 }} \ No newline at end of file + {{- include "deploy.config.vo" . | nindent 6 }}