From a91120a6bc88987aa29cc640e0cc7af094674a23 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 14:12:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=9B=86=E7=BE=A4=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deployment.yaml | 239 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 239 insertions(+) create mode 100644 deployment.yaml diff --git a/deployment.yaml b/deployment.yaml new file mode 100644 index 00000000..9bcdd6c3 --- /dev/null +++ b/deployment.yaml @@ -0,0 +1,239 @@ +# yudao-module-infra +apiVersion: apps/v1 +kind: Deployment +metadata: + namespace: ns-f16a3067ca7b434aad127d15eac82503 + name: yudao-module-infra + labels: + app: yudao-module-infra +spec: + replicas: 1 + selector: + matchLabels: + app: yudao-module-infra + template: + metadata: + labels: + 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 + terminationGracePeriodSeconds: 30 + strategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 1 + maxUnavailable: 0 +--- +apiVersion: v1 +kind: Service +metadata: + namespace: ns-f16a3067ca7b434aad127d15eac82503 + name: yudao-module-infra +spec: + type: ClusterIP + selector: + app: yudao-module-infra + ports: + - protocol: TCP + port: 48082 + targetPort: 48082 +--- +# yudao-module-system +apiVersion: apps/v1 +kind: Deployment +metadata: + namespace: ns-f16a3067ca7b434aad127d15eac82503 + name: yudao-module-system + labels: + app: yudao-module-system +spec: + replicas: 1 + selector: + matchLabels: + app: yudao-module-system + template: + metadata: + labels: + 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 + terminationGracePeriodSeconds: 30 + strategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 1 + maxUnavailable: 0 +--- +apiVersion: v1 +kind: Service +metadata: + namespace: ns-f16a3067ca7b434aad127d15eac82503 + name: yudao-module-system +spec: + type: ClusterIP + selector: + app: yudao-module-system + ports: + - protocol: TCP + port: 48081 + targetPort: 48081 +--- +# yudao-module-bpm +apiVersion: apps/v1 +kind: Deployment +metadata: + namespace: ns-f16a3067ca7b434aad127d15eac82503 + name: yudao-module-bpm + labels: + app: yudao-module-bpm +spec: + replicas: 1 + selector: + matchLabels: + app: yudao-module-bpm + template: + metadata: + labels: + 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 + terminationGracePeriodSeconds: 30 + strategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 1 + maxUnavailable: 0 +--- +apiVersion: v1 +kind: Service +metadata: + namespace: ns-f16a3067ca7b434aad127d15eac82503 + name: yudao-module-bpm +spec: + type: ClusterIP + selector: + app: yudao-module-bpm + ports: + - protocol: TCP + port: 48083 + targetPort: 48083 +--- +# yudao-module-report +apiVersion: apps/v1 +kind: Deployment +metadata: + namespace: ns-f16a3067ca7b434aad127d15eac82503 + name: yudao-module-report + labels: + app: yudao-module-report +spec: + replicas: 1 + selector: + matchLabels: + app: yudao-module-report + template: + metadata: + labels: + 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 + terminationGracePeriodSeconds: 30 + strategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 1 + maxUnavailable: 0 +--- +apiVersion: v1 +kind: Service +metadata: + namespace: ns-f16a3067ca7b434aad127d15eac82503 + name: yudao-module-report +spec: + type: ClusterIP + selector: + app: yudao-module-report + ports: + - protocol: TCP + port: 48084 + targetPort: 48084