diff --git a/deployment.yaml b/deployment.yaml index cd28d944..01d489a3 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -18,13 +18,35 @@ spec: spec: containers: - name: yudao-gateway - image: 172.16.46.66:10043/yudao/yudao-gateway:VERSION_PLACEHOLDER + image: 172.16.46.66:10043/yudao/yudao-gateway:20250915022009 imagePullPolicy: Always env: - name: TZ value: Asia/Shanghai ports: - containerPort: 48080 + readinessProbe: + httpGet: + path: /actuator/health + port: 48080 + initialDelaySeconds: 10 + periodSeconds: 5 + failureThreshold: 3 + livenessProbe: + httpGet: + path: /actuator/health + port: 48080 + initialDelaySeconds: 30 + periodSeconds: 10 + failureThreshold: 5 + resources: + requests: + cpu: "500m" + memory: "1024Mi" + limits: + cpu: "700m" + memory: "2048Mi" + terminationGracePeriodSeconds: 30 --- apiVersion: v1 kind: Service @@ -50,9 +72,9 @@ metadata: labels: app: yudao-module-infra annotations: - version: "VERSION_PLACEHOLDER" + version: "20250915022009" description: DESC_PLACEHOLDER - rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:VERSION_PLACEHOLDER" + rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:20250915022009" spec: replicas: 1 selector: @@ -65,7 +87,7 @@ spec: spec: containers: - name: yudao-module-infra - image: 172.16.46.66:10043/yudao/yudao-module-infra:VERSION_PLACEHOLDER + image: 172.16.46.66:10043/yudao/yudao-module-infra:20250915022009 imagePullPolicy: Always env: - name: TZ @@ -104,13 +126,14 @@ metadata: namespace: ns-d6a0e78ebd674c279614498e4c57b133 name: yudao-module-infra spec: - type: ClusterIP + type: NodePort selector: app: yudao-module-infra ports: - protocol: TCP port: 48082 targetPort: 48082 + nodePort: 30092 --- # yudao-module-system apiVersion: apps/v1 @@ -121,9 +144,9 @@ metadata: labels: app: yudao-module-system annotations: - version: "VERSION_PLACEHOLDER" + version: "20250915022009" description: DESC_PLACEHOLDER - rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:VERSION_PLACEHOLDER" + rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:20250915022009" spec: replicas: 1 selector: @@ -136,7 +159,7 @@ spec: spec: containers: - name: yudao-module-system - image: 172.16.46.66:10043/yudao/yudao-module-system:VERSION_PLACEHOLDER + image: 172.16.46.66:10043/yudao/yudao-module-system:20250915022009 imagePullPolicy: Always env: - name: TZ @@ -175,13 +198,14 @@ metadata: namespace: ns-d6a0e78ebd674c279614498e4c57b133 name: yudao-module-system spec: - type: ClusterIP + type: NodePort selector: app: yudao-module-system ports: - protocol: TCP port: 48081 targetPort: 48081 + nodePort: 30091 --- # yudao-module-bpm apiVersion: apps/v1 @@ -192,9 +216,9 @@ metadata: labels: app: yudao-module-bpm annotations: - version: "VERSION_PLACEHOLDER" + version: "20250915022009" description: DESC_PLACEHOLDER - rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:VERSION_PLACEHOLDER" + rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:20250915022009" spec: replicas: 1 selector: @@ -207,7 +231,7 @@ spec: spec: containers: - name: yudao-module-bpm - image: 172.16.46.66:10043/yudao/yudao-module-bpm:VERSION_PLACEHOLDER + image: 172.16.46.66:10043/yudao/yudao-module-bpm:20250915022009 imagePullPolicy: Always env: - name: TZ @@ -246,13 +270,14 @@ metadata: namespace: ns-d6a0e78ebd674c279614498e4c57b133 name: yudao-module-bpm spec: - type: ClusterIP + type: NodePort selector: app: yudao-module-bpm ports: - protocol: TCP port: 48083 targetPort: 48083 + nodePort: 30093 --- # yudao-module-report apiVersion: apps/v1 @@ -263,9 +288,9 @@ metadata: labels: app: yudao-module-report annotations: - version: "VERSION_PLACEHOLDER" + version: "20250915022009" description: DESC_PLACEHOLDER - rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:VERSION_PLACEHOLDER" + rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:20250915022009" spec: replicas: 1 selector: @@ -278,7 +303,7 @@ spec: spec: containers: - name: yudao-module-report - image: 172.16.46.66:10043/yudao/yudao-module-report:VERSION_PLACEHOLDER + image: 172.16.46.66:10043/yudao/yudao-module-report:20250915022009 imagePullPolicy: Always env: - name: TZ @@ -317,13 +342,14 @@ metadata: namespace: ns-d6a0e78ebd674c279614498e4c57b133 name: yudao-module-report spec: - type: ClusterIP + type: NodePort selector: app: yudao-module-report ports: - protocol: TCP port: 48084 targetPort: 48084 + nodePort: 30094 --- # yudao-module-template apiVersion: apps/v1 @@ -334,9 +360,9 @@ metadata: labels: app: yudao-module-template annotations: - version: "VERSION_PLACEHOLDER" + version: "20250915022009" description: DESC_PLACEHOLDER - rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:VERSION_PLACEHOLDER" + rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:20250915022009" spec: replicas: 1 selector: @@ -349,25 +375,7 @@ spec: spec: containers: - name: yudao-module-template - image: 172.16.46.66:10043/yudao/yudao-module-template:VERSION_PLACEHOLDER - imagePullPolicy: Always - env: - - name: TZ - value: Asia/Shanghai - readinessProbe: - httpGet: - path: /actuator/health - port: 48100 - initialDelaySeconds: 10 - periodSeconds: 5 - failureThreshold: 3 - livenessProbe: - httpGet: - path: /actuator/health - port: 48100 - initialDelaySeconds: 30 - periodSeconds: 10 - failureThreshold: 5 + image: 172.16.46.66:10043/yudao/yudao-module-template:20250915022009 resources: requests: cpu: "500m" @@ -388,81 +396,11 @@ metadata: namespace: ns-d6a0e78ebd674c279614498e4c57b133 name: yudao-module-template spec: - type: ClusterIP + type: NodePort selector: app: yudao-module-template ports: - protocol: TCP port: 48100 targetPort: 48100 ---- -# logistics-server -apiVersion: apps/v1 -kind: Deployment -metadata: - namespace: ns-d6a0e78ebd674c279614498e4c57b133 - 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 - resources: - requests: - cpu: "500m" - memory: "1024Mi" - limits: - cpu: "700m" - memory: "2048Mi" - terminationGracePeriodSeconds: 30 - strategy: - type: RollingUpdate - rollingUpdate: - maxSurge: 1 - maxUnavailable: 0 ---- -apiVersion: v1 -kind: Service -metadata: - namespace: ns-d6a0e78ebd674c279614498e4c57b133 - name: logistics-server -spec: - type: ClusterIP - selector: - app: logistics-server - ports: - - protocol: TCP - port: 48101 - targetPort: 48101 \ No newline at end of file + nodePort: 30090