From c263d197e79a47f4821b7ffcd60829cd6ab5f599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=99=A8?= Date: Wed, 24 Nov 2021 17:51:16 +0800 Subject: [PATCH] The port is not fixed --- helm/templates/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/templates/deployment.yaml b/helm/templates/deployment.yaml index e578a2b..5485de8 100644 --- a/helm/templates/deployment.yaml +++ b/helm/templates/deployment.yaml @@ -53,7 +53,7 @@ spec: timeoutSeconds: 10 httpGet: scheme: HTTP - port: 8848 + port: {{ .Values.nacos.serverPort }} path: /nacos/v1/console/health/readiness livenessProbe: initialDelaySeconds: 10 @@ -61,7 +61,7 @@ spec: timeoutSeconds: 10 httpGet: scheme: HTTP - port: 8848 + port: {{ .Values.nacos.serverPort }} path: /nacos/v1/console/health/liveness ports: - name: http