同步更新业务模块部署资源

This commit is contained in:
chenbowen
2025-09-15 21:13:54 +08:00
parent 695f315b28
commit 4b15a22185

View File

@@ -1,362 +1,67 @@
# yudao-gateway # base-server
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
namespace: ns-f16a3067ca7b434aad127d15eac82503 namespace: ns-f16a3067ca7b434aad127d15eac82503
name: yudao-gateway name: base-server
labels: labels:
app: yudao-gateway app: base-server
annotations:
version: "VERSION_PLACEHOLDER"
description: DESC_PLACEHOLDER
rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:VERSION_PLACEHOLDER"
spec: spec:
replicas: 1 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: yudao-gateway app: base-server
template: template:
metadata: metadata:
labels: labels:
app: yudao-gateway app: base-server
spec: spec:
containers: containers:
- name: yudao-gateway - name: base-server
image: 172.16.46.66:10043/yudao/yudao-gateway:VERSION_PLACEHOLDER image: 172.16.46.66:10043/yudao/base-server:VERSION_PLACEHOLDER
imagePullPolicy: Always readinessProbe:
env: httpGet:
- name: TZ path: /actuator/health
value: Asia/Shanghai port: 48100
ports: initialDelaySeconds: 10
- containerPort: 48080 periodSeconds: 5
failureThreshold: 3
livenessProbe:
httpGet:
path: /actuator/health
port: 48100
initialDelaySeconds: 30
periodSeconds: 10
failureThreshold: 5
resources:
requests:
cpu: "1000m"
memory: "1024Mi"
limits:
cpu: "1000m"
memory: "2048Mi"
terminationGracePeriodSeconds: 30
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
namespace: ns-f16a3067ca7b434aad127d15eac82503 namespace: ns-f16a3067ca7b434aad127d15eac82503
name: yudao-gateway name: base-server
spec: spec:
type: NodePort type: NodePort
selector: selector:
app: yudao-gateway app: base-server
ports:
- protocol: TCP
port: 48080
targetPort: 48080
nodePort: 30081
---
# yudao-module-infra
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: ns-f16a3067ca7b434aad127d15eac82503
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:
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:VERSION_PLACEHOLDER
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
annotations:
version: "VERSION_PLACEHOLDER"
description: DESC_PLACEHOLDER
rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:VERSION_PLACEHOLDER"
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:VERSION_PLACEHOLDER
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
annotations:
version: "VERSION_PLACEHOLDER"
description: DESC_PLACEHOLDER
rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:VERSION_PLACEHOLDER"
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:VERSION_PLACEHOLDER
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
annotations:
version: "VERSION_PLACEHOLDER"
description: DESC_PLACEHOLDER
rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:VERSION_PLACEHOLDER"
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:VERSION_PLACEHOLDER
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
---
# yudao-module-template
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: ns-f16a3067ca7b434aad127d15eac82503
name: yudao-module-template
labels:
app: yudao-module-template
annotations:
version: "VERSION_PLACEHOLDER"
description: DESC_PLACEHOLDER
rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:VERSION_PLACEHOLDER"
spec:
replicas: 1
selector:
matchLabels:
app: yudao-module-template
template:
metadata:
labels:
app: yudao-module-template
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
terminationGracePeriodSeconds: 30
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
---
apiVersion: v1
kind: Service
metadata:
namespace: ns-f16a3067ca7b434aad127d15eac82503
name: yudao-module-template
spec:
type: ClusterIP
selector:
app: yudao-module-template
ports: ports:
- protocol: TCP - protocol: TCP
port: 48100 port: 48100
targetPort: 48100 targetPort: 48100
nodePort: 30097