From 40573b6856b8eb637e63e0923a7509442623a57b Mon Sep 17 00:00:00 2001 From: wzggsg Date: Thu, 3 Apr 2025 02:13:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B92503=E7=9A=84=E8=A1=8C?= =?UTF-8?q?=E6=83=85=E6=9C=8D=E5=8A=A1=E5=99=A8=E4=B8=BA=E8=A1=8C=E6=83=85?= =?UTF-8?q?=E9=9B=86=E7=BE=A4=EF=BC=8C=E6=B7=BB=E5=8A=A0api=E7=9A=84?= =?UTF-8?q?=E5=81=A5=E5=BA=B7=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gp2503/market-endpoints.yaml | 4 ++-- gp2503/patch/api-deployment_patch.yaml | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gp2503/market-endpoints.yaml b/gp2503/market-endpoints.yaml index f0c3cc2..559834c 100644 --- a/gp2503/market-endpoints.yaml +++ b/gp2503/market-endpoints.yaml @@ -4,6 +4,6 @@ metadata: name: external-service subsets: - addresses: - - ip: 43.139.60.86 # 你的外部服务器 IP + - ip: 111.230.204.79 # 你的外部服务器 IP ports: - - port: 8188 # 目标服务器端口 \ No newline at end of file + - port: 58288 # 目标服务器端口 \ No newline at end of file diff --git a/gp2503/patch/api-deployment_patch.yaml b/gp2503/patch/api-deployment_patch.yaml index 6d8ec07..e3e73d1 100644 --- a/gp2503/patch/api-deployment_patch.yaml +++ b/gp2503/patch/api-deployment_patch.yaml @@ -20,6 +20,14 @@ spec: env: - name: TZ value: "Asia/Shanghai" + livenessProbe: + httpGet: + path: /api/service.do + port: 8080 + initialDelaySeconds: 60 + periodSeconds: 10 + timeoutSeconds: 3 + failureThreshold: 3 # resources: # requests: # cpu: "0.5"