调整 基础服务 部署配置

This commit is contained in:
chenbowen
2025-09-17 00:07:03 +08:00
parent 0c88e5f01e
commit 61f5e685ed

View File

@@ -18,13 +18,35 @@ spec:
spec: spec:
containers: containers:
- name: yudao-gateway - 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 imagePullPolicy: Always
env: env:
- name: TZ - name: TZ
value: Asia/Shanghai value: Asia/Shanghai
ports: ports:
- containerPort: 48080 - 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 apiVersion: v1
kind: Service kind: Service
@@ -50,9 +72,9 @@ metadata:
labels: labels:
app: yudao-module-infra app: yudao-module-infra
annotations: annotations:
version: "VERSION_PLACEHOLDER" version: "20250915022009"
description: DESC_PLACEHOLDER description: DESC_PLACEHOLDER
rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:VERSION_PLACEHOLDER" rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:20250915022009"
spec: spec:
replicas: 1 replicas: 1
selector: selector:
@@ -65,7 +87,7 @@ spec:
spec: spec:
containers: containers:
- name: yudao-module-infra - 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 imagePullPolicy: Always
env: env:
- name: TZ - name: TZ
@@ -104,13 +126,14 @@ metadata:
namespace: ns-d6a0e78ebd674c279614498e4c57b133 namespace: ns-d6a0e78ebd674c279614498e4c57b133
name: yudao-module-infra name: yudao-module-infra
spec: spec:
type: ClusterIP type: NodePort
selector: selector:
app: yudao-module-infra app: yudao-module-infra
ports: ports:
- protocol: TCP - protocol: TCP
port: 48082 port: 48082
targetPort: 48082 targetPort: 48082
nodePort: 30092
--- ---
# yudao-module-system # yudao-module-system
apiVersion: apps/v1 apiVersion: apps/v1
@@ -121,9 +144,9 @@ metadata:
labels: labels:
app: yudao-module-system app: yudao-module-system
annotations: annotations:
version: "VERSION_PLACEHOLDER" version: "20250915022009"
description: DESC_PLACEHOLDER description: DESC_PLACEHOLDER
rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:VERSION_PLACEHOLDER" rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:20250915022009"
spec: spec:
replicas: 1 replicas: 1
selector: selector:
@@ -136,7 +159,7 @@ spec:
spec: spec:
containers: containers:
- name: yudao-module-system - 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 imagePullPolicy: Always
env: env:
- name: TZ - name: TZ
@@ -175,13 +198,14 @@ metadata:
namespace: ns-d6a0e78ebd674c279614498e4c57b133 namespace: ns-d6a0e78ebd674c279614498e4c57b133
name: yudao-module-system name: yudao-module-system
spec: spec:
type: ClusterIP type: NodePort
selector: selector:
app: yudao-module-system app: yudao-module-system
ports: ports:
- protocol: TCP - protocol: TCP
port: 48081 port: 48081
targetPort: 48081 targetPort: 48081
nodePort: 30091
--- ---
# yudao-module-bpm # yudao-module-bpm
apiVersion: apps/v1 apiVersion: apps/v1
@@ -192,9 +216,9 @@ metadata:
labels: labels:
app: yudao-module-bpm app: yudao-module-bpm
annotations: annotations:
version: "VERSION_PLACEHOLDER" version: "20250915022009"
description: DESC_PLACEHOLDER description: DESC_PLACEHOLDER
rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:VERSION_PLACEHOLDER" rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:20250915022009"
spec: spec:
replicas: 1 replicas: 1
selector: selector:
@@ -207,7 +231,7 @@ spec:
spec: spec:
containers: containers:
- name: yudao-module-bpm - 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 imagePullPolicy: Always
env: env:
- name: TZ - name: TZ
@@ -246,13 +270,14 @@ metadata:
namespace: ns-d6a0e78ebd674c279614498e4c57b133 namespace: ns-d6a0e78ebd674c279614498e4c57b133
name: yudao-module-bpm name: yudao-module-bpm
spec: spec:
type: ClusterIP type: NodePort
selector: selector:
app: yudao-module-bpm app: yudao-module-bpm
ports: ports:
- protocol: TCP - protocol: TCP
port: 48083 port: 48083
targetPort: 48083 targetPort: 48083
nodePort: 30093
--- ---
# yudao-module-report # yudao-module-report
apiVersion: apps/v1 apiVersion: apps/v1
@@ -263,9 +288,9 @@ metadata:
labels: labels:
app: yudao-module-report app: yudao-module-report
annotations: annotations:
version: "VERSION_PLACEHOLDER" version: "20250915022009"
description: DESC_PLACEHOLDER description: DESC_PLACEHOLDER
rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:VERSION_PLACEHOLDER" rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:20250915022009"
spec: spec:
replicas: 1 replicas: 1
selector: selector:
@@ -278,7 +303,7 @@ spec:
spec: spec:
containers: containers:
- name: yudao-module-report - 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 imagePullPolicy: Always
env: env:
- name: TZ - name: TZ
@@ -317,13 +342,14 @@ metadata:
namespace: ns-d6a0e78ebd674c279614498e4c57b133 namespace: ns-d6a0e78ebd674c279614498e4c57b133
name: yudao-module-report name: yudao-module-report
spec: spec:
type: ClusterIP type: NodePort
selector: selector:
app: yudao-module-report app: yudao-module-report
ports: ports:
- protocol: TCP - protocol: TCP
port: 48084 port: 48084
targetPort: 48084 targetPort: 48084
nodePort: 30094
--- ---
# yudao-module-template # yudao-module-template
apiVersion: apps/v1 apiVersion: apps/v1
@@ -334,9 +360,9 @@ metadata:
labels: labels:
app: yudao-module-template app: yudao-module-template
annotations: annotations:
version: "VERSION_PLACEHOLDER" version: "20250915022009"
description: DESC_PLACEHOLDER description: DESC_PLACEHOLDER
rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:VERSION_PLACEHOLDER" rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:20250915022009"
spec: spec:
replicas: 1 replicas: 1
selector: selector:
@@ -349,25 +375,7 @@ spec:
spec: spec:
containers: containers:
- name: yudao-module-template - name: yudao-module-template
image: 172.16.46.66:10043/yudao/yudao-module-template:VERSION_PLACEHOLDER image: 172.16.46.66:10043/yudao/yudao-module-template:20250915022009
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
resources: resources:
requests: requests:
cpu: "500m" cpu: "500m"
@@ -388,81 +396,11 @@ metadata:
namespace: ns-d6a0e78ebd674c279614498e4c57b133 namespace: ns-d6a0e78ebd674c279614498e4c57b133
name: yudao-module-template name: yudao-module-template
spec: spec:
type: ClusterIP type: NodePort
selector: selector:
app: yudao-module-template app: yudao-module-template
ports: ports:
- protocol: TCP - protocol: TCP
port: 48100 port: 48100
targetPort: 48100 targetPort: 48100
--- nodePort: 30090
# 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