Files
zt-bpm/deployment.yaml
2025-09-29 10:08:48 +08:00

63 lines
1.5 KiB
YAML

# zt-module-bpm
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: ns-f16a3067ca7b434aad127d15eac82503
name: zt-module-bpm
labels:
app: zt-module-bpm
annotations:
version: "VERSION_PLACEHOLDER"
description: DESC_PLACEHOLDER
rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:VERSION_PLACEHOLDER"
spec:
replicas: 1
selector:
matchLabels:
app: zt-module-bpm
template:
metadata:
labels:
app: zt-module-bpm
spec:
containers:
- name: zt-module-bpm
image: 172.16.46.66:10043/zt/zt-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: zt-module-bpm
spec:
type: ClusterIP
selector:
app: zt-module-bpm
ports:
- protocol: TCP
port: 48083
targetPort: 48083