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