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"