From d4a3803369c0bef2dc081f0849110e962e8b21a8 Mon Sep 17 00:00:00 2001 From: chenbowen Date: Wed, 10 Sep 2025 10:08:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=BD=E5=8A=A0=20logistics=20server?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deployment.yaml | 64 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/deployment.yaml b/deployment.yaml index 1313878e..ab47171a 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -360,3 +360,67 @@ spec: - protocol: TCP port: 48100 targetPort: 48100 +--- +# logistics-server +apiVersion: apps/v1 +kind: Deployment +metadata: + namespace: ns-f16a3067ca7b434aad127d15eac82503 + name: logistics-server + labels: + app: logistics-server + annotations: + version: "VERSION_PLACEHOLDER" + description: DESC_PLACEHOLDER + rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:VERSION_PLACEHOLDER" +spec: + replicas: 1 + selector: + matchLabels: + app: logistics-server + template: + metadata: + labels: + app: logistics-server + spec: + containers: + - name: logistics-server + image: 172.16.46.66:10043/yudao/logistics-server:VERSION_PLACEHOLDER + imagePullPolicy: Always + env: + - name: TZ + value: Asia/Shanghai + readinessProbe: + httpGet: + path: /actuator/health + port: 48101 + initialDelaySeconds: 10 + periodSeconds: 5 + failureThreshold: 3 + livenessProbe: + httpGet: + path: /actuator/health + port: 48101 + initialDelaySeconds: 30 + periodSeconds: 10 + failureThreshold: 5 + terminationGracePeriodSeconds: 30 + strategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 1 + maxUnavailable: 0 +--- +apiVersion: v1 +kind: Service +metadata: + namespace: ns-f16a3067ca7b434aad127d15eac82503 + name: logistics-server +spec: + type: ClusterIP + selector: + app: logistics-server + ports: + - protocol: TCP + port: 48101 + targetPort: 48101 \ No newline at end of file