Files
zt-dsc/deployment.yaml
2025-09-22 02:05:00 +08:00

407 lines
9.5 KiB
YAML

# cloud-gateway
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: ns-d6a0e78ebd674c279614498e4c57b133
name: cloud-gateway
labels:
app: cloud-gateway
spec:
replicas: 1
selector:
matchLabels:
app: cloud-gateway
template:
metadata:
labels:
app: cloud-gateway
spec:
containers:
- name: cloud-gateway
image: 172.16.46.66:10043/cloud/cloud-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
metadata:
namespace: ns-d6a0e78ebd674c279614498e4c57b133
name: cloud-gateway
spec:
type: NodePort
selector:
app: cloud-gateway
ports:
- protocol: TCP
port: 48080
targetPort: 48080
nodePort: 30081
---
# cloud-module-infra
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: ns-d6a0e78ebd674c279614498e4c57b133
name: cloud-module-infra
labels:
app: cloud-module-infra
annotations:
version: "20250915022009"
description: DESC_PLACEHOLDER
rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:20250915022009"
spec:
replicas: 1
selector:
matchLabels:
app: cloud-module-infra
template:
metadata:
labels:
app: cloud-module-infra
spec:
containers:
- name: cloud-module-infra
image: 172.16.46.66:10043/cloud/cloud-module-infra:20250915022009
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
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: cloud-module-infra
spec:
type: NodePort
selector:
app: cloud-module-infra
ports:
- protocol: TCP
port: 48082
targetPort: 48082
nodePort: 30092
---
# cloud-module-system
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: ns-d6a0e78ebd674c279614498e4c57b133
name: cloud-module-system
labels:
app: cloud-module-system
annotations:
version: "20250915022009"
description: DESC_PLACEHOLDER
rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:20250915022009"
spec:
replicas: 1
selector:
matchLabels:
app: cloud-module-system
template:
metadata:
labels:
app: cloud-module-system
spec:
containers:
- name: cloud-module-system
image: 172.16.46.66:10043/cloud/cloud-module-system:20250915022009
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
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: cloud-module-system
spec:
type: NodePort
selector:
app: cloud-module-system
ports:
- protocol: TCP
port: 48081
targetPort: 48081
nodePort: 30091
---
# cloud-module-bpm
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: ns-d6a0e78ebd674c279614498e4c57b133
name: cloud-module-bpm
labels:
app: cloud-module-bpm
annotations:
version: "20250915022009"
description: DESC_PLACEHOLDER
rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:20250915022009"
spec:
replicas: 1
selector:
matchLabels:
app: cloud-module-bpm
template:
metadata:
labels:
app: cloud-module-bpm
spec:
containers:
- name: cloud-module-bpm
image: 172.16.46.66:10043/cloud/cloud-module-bpm:20250915022009
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
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: cloud-module-bpm
spec:
type: NodePort
selector:
app: cloud-module-bpm
ports:
- protocol: TCP
port: 48083
targetPort: 48083
nodePort: 30093
---
# cloud-module-report
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: ns-d6a0e78ebd674c279614498e4c57b133
name: cloud-module-report
labels:
app: cloud-module-report
annotations:
version: "20250915022009"
description: DESC_PLACEHOLDER
rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:20250915022009"
spec:
replicas: 1
selector:
matchLabels:
app: cloud-module-report
template:
metadata:
labels:
app: cloud-module-report
spec:
containers:
- name: cloud-module-report
image: 172.16.46.66:10043/cloud/cloud-module-report:20250915022009
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
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: cloud-module-report
spec:
type: NodePort
selector:
app: cloud-module-report
ports:
- protocol: TCP
port: 48084
targetPort: 48084
nodePort: 30094
---
# cloud-module-template
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: ns-d6a0e78ebd674c279614498e4c57b133
name: cloud-module-template
labels:
app: cloud-module-template
annotations:
version: "20250915022009"
description: DESC_PLACEHOLDER
rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:20250915022009"
spec:
replicas: 1
selector:
matchLabels:
app: cloud-module-template
template:
metadata:
labels:
app: cloud-module-template
spec:
containers:
- name: cloud-module-template
image: 172.16.46.66:10043/cloud/cloud-module-template:20250915022009
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: cloud-module-template
spec:
type: NodePort
selector:
app: cloud-module-template
ports:
- protocol: TCP
port: 48100
targetPort: 48100
nodePort: 30090