From 5afcdb810848b9771c74bbbc141b16be8c2038af Mon Sep 17 00:00:00 2001 From: haoxr <1490493387@qq.com> Date: Sun, 29 Jan 2023 15:44:21 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9A=B4=E9=9C=B2=E5=A4=96=E9=83=A8?= =?UTF-8?q?=E7=AB=AF=E5=8F=A3=EF=BC=8C=E6=8F=90=E4=BE=9B=E5=AE=BF=E4=B8=BB?= =?UTF-8?q?=E6=9C=BAIP+=E7=AB=AF=E5=8F=A3=E8=AE=BF=E9=97=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/prod/deploy.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/prod/deploy.yaml b/deploy/prod/deploy.yaml index 49a4cab7..72f7218c 100644 --- a/deploy/prod/deploy.yaml +++ b/deploy/prod/deploy.yaml @@ -27,7 +27,7 @@ spec: # Deployment 规格说明 image: registry.cn-hangzhou.aliyuncs.com/youlaitech/youlai-boot:latest # 必须 imagePullPolicy: Always ports: - - containerPort: 8989 + - containerPort: 8989 # 容器内端口 protocol: TCP env: - name: spring.profiles.active # 容器端口 @@ -56,6 +56,7 @@ spec: port: 8989 protocol: TCP targetPort: 8989 + nodePort: 8989 # 外部访问端口 selector: app: youlai-boot sessionAffinity: None