From 9a770b1fc4e79d586e72d7c362dcc68029feb278 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=8D=9A=E6=96=87?= Date: Fri, 13 Jun 2025 15:35:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=20push=20=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8F=91=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deployment.yaml | 200 ++++++++++++++++++++++++++---------------------- 1 file changed, 108 insertions(+), 92 deletions(-) diff --git a/deployment.yaml b/deployment.yaml index 9bcdd6c3..98590001 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -6,6 +6,10 @@ metadata: name: yudao-module-infra labels: app: yudao-module-infra + annotations: + version: VERSION_PLACEHOLDER + description: DESC_PLACEHOLDER + rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:VERSION_PLACEHOLDER" spec: replicas: 1 selector: @@ -17,26 +21,26 @@ spec: app: yudao-module-infra spec: containers: - - name: yudao-module-infra - image: 172.16.46.66:10043/yudao/yudao-module-infra:20250613031406 - imagePullPolicy: Always - env: - - name: TZ - value: Asia/Shanghai - readinessProbe: - httpGet: - path: /actuator/health - port: 48082 - initialDelaySeconds: 10 - periodSeconds: 5 - failureThreshold: 3 - livenessProbe: - httpGet: - path: /actuator/health - port: 48082 - initialDelaySeconds: 30 - periodSeconds: 10 - failureThreshold: 5 + - name: yudao-module-infra + image: 172.16.46.66:10043/yudao/yudao-module-infra:20250613031406 + imagePullPolicy: Always + env: + - name: TZ + value: Asia/Shanghai + readinessProbe: + httpGet: + path: /actuator/health + port: 48082 + initialDelaySeconds: 10 + periodSeconds: 5 + failureThreshold: 3 + livenessProbe: + httpGet: + path: /actuator/health + port: 48082 + initialDelaySeconds: 30 + periodSeconds: 10 + failureThreshold: 5 terminationGracePeriodSeconds: 30 strategy: type: RollingUpdate @@ -54,9 +58,9 @@ spec: selector: app: yudao-module-infra ports: - - protocol: TCP - port: 48082 - targetPort: 48082 + - protocol: TCP + port: 48082 + targetPort: 48082 --- # yudao-module-system apiVersion: apps/v1 @@ -66,6 +70,10 @@ metadata: name: yudao-module-system labels: app: yudao-module-system + annotations: + version: VERSION_PLACEHOLDER + description: DESC_PLACEHOLDER + rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:VERSION_PLACEHOLDER" spec: replicas: 1 selector: @@ -77,26 +85,26 @@ spec: app: yudao-module-system spec: containers: - - name: yudao-module-system - image: 172.16.46.66:10043/yudao/yudao-module-system:20250613031406 - imagePullPolicy: Always - env: - - name: TZ - value: Asia/Shanghai - readinessProbe: - httpGet: - path: /actuator/health - port: 48081 - initialDelaySeconds: 10 - periodSeconds: 5 - failureThreshold: 3 - livenessProbe: - httpGet: - path: /actuator/health - port: 48081 - initialDelaySeconds: 30 - periodSeconds: 10 - failureThreshold: 5 + - name: yudao-module-system + image: 172.16.46.66:10043/yudao/yudao-module-system:20250613031406 + imagePullPolicy: Always + env: + - name: TZ + value: Asia/Shanghai + readinessProbe: + httpGet: + path: /actuator/health + port: 48081 + initialDelaySeconds: 10 + periodSeconds: 5 + failureThreshold: 3 + livenessProbe: + httpGet: + path: /actuator/health + port: 48081 + initialDelaySeconds: 30 + periodSeconds: 10 + failureThreshold: 5 terminationGracePeriodSeconds: 30 strategy: type: RollingUpdate @@ -114,9 +122,9 @@ spec: selector: app: yudao-module-system ports: - - protocol: TCP - port: 48081 - targetPort: 48081 + - protocol: TCP + port: 48081 + targetPort: 48081 --- # yudao-module-bpm apiVersion: apps/v1 @@ -126,6 +134,10 @@ metadata: name: yudao-module-bpm labels: app: yudao-module-bpm + annotations: + version: VERSION_PLACEHOLDER + description: DESC_PLACEHOLDER + rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:VERSION_PLACEHOLDER" spec: replicas: 1 selector: @@ -137,26 +149,26 @@ spec: app: yudao-module-bpm spec: containers: - - name: yudao-module-bpm - image: 172.16.46.66:10043/yudao/yudao-module-bpm:20250613031406 - imagePullPolicy: Always - env: - - name: TZ - value: Asia/Shanghai - readinessProbe: - httpGet: - path: /actuator/health - port: 48083 - initialDelaySeconds: 10 - periodSeconds: 5 - failureThreshold: 3 - livenessProbe: - httpGet: - path: /actuator/health - port: 48083 - initialDelaySeconds: 30 - periodSeconds: 10 - failureThreshold: 5 + - name: yudao-module-bpm + image: 172.16.46.66:10043/yudao/yudao-module-bpm:20250613031406 + imagePullPolicy: Always + env: + - name: TZ + value: Asia/Shanghai + readinessProbe: + httpGet: + path: /actuator/health + port: 48083 + initialDelaySeconds: 10 + periodSeconds: 5 + failureThreshold: 3 + livenessProbe: + httpGet: + path: /actuator/health + port: 48083 + initialDelaySeconds: 30 + periodSeconds: 10 + failureThreshold: 5 terminationGracePeriodSeconds: 30 strategy: type: RollingUpdate @@ -174,9 +186,9 @@ spec: selector: app: yudao-module-bpm ports: - - protocol: TCP - port: 48083 - targetPort: 48083 + - protocol: TCP + port: 48083 + targetPort: 48083 --- # yudao-module-report apiVersion: apps/v1 @@ -186,6 +198,10 @@ metadata: name: yudao-module-report labels: app: yudao-module-report + annotations: + version: VERSION_PLACEHOLDER + description: DESC_PLACEHOLDER + rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:VERSION_PLACEHOLDER" spec: replicas: 1 selector: @@ -197,26 +213,26 @@ spec: app: yudao-module-report spec: containers: - - name: yudao-module-report - image: 172.16.46.66:10043/yudao/yudao-module-report:20250613031406 - imagePullPolicy: Always - env: - - name: TZ - value: Asia/Shanghai - readinessProbe: - httpGet: - path: /actuator/health - port: 48084 - initialDelaySeconds: 10 - periodSeconds: 5 - failureThreshold: 3 - livenessProbe: - httpGet: - path: /actuator/health - port: 48084 - initialDelaySeconds: 30 - periodSeconds: 10 - failureThreshold: 5 + - name: yudao-module-report + image: 172.16.46.66:10043/yudao/yudao-module-report:20250613031406 + imagePullPolicy: Always + env: + - name: TZ + value: Asia/Shanghai + readinessProbe: + httpGet: + path: /actuator/health + port: 48084 + initialDelaySeconds: 10 + periodSeconds: 5 + failureThreshold: 3 + livenessProbe: + httpGet: + path: /actuator/health + port: 48084 + initialDelaySeconds: 30 + periodSeconds: 10 + failureThreshold: 5 terminationGracePeriodSeconds: 30 strategy: type: RollingUpdate @@ -234,6 +250,6 @@ spec: selector: app: yudao-module-report ports: - - protocol: TCP - port: 48084 - targetPort: 48084 + - protocol: TCP + port: 48084 + targetPort: 48084