1. dsc bpm deploy 单独进行发布
This commit is contained in:
140
deployment.yaml
140
deployment.yaml
@@ -208,76 +208,76 @@ spec:
|
|||||||
nodePort: 30091
|
nodePort: 30091
|
||||||
---
|
---
|
||||||
# zt-module-bpm
|
# zt-module-bpm
|
||||||
apiVersion: apps/v1
|
#apiVersion: apps/v1
|
||||||
kind: Deployment
|
#kind: Deployment
|
||||||
metadata:
|
#metadata:
|
||||||
namespace: ns-d6a0e78ebd674c279614498e4c57b133
|
# namespace: ns-d6a0e78ebd674c279614498e4c57b133
|
||||||
name: zt-module-bpm
|
# name: zt-module-bpm
|
||||||
labels:
|
# labels:
|
||||||
app: zt-module-bpm
|
# app: zt-module-bpm
|
||||||
annotations:
|
# annotations:
|
||||||
version: "VERSION_PLACEHOLDER"
|
# version: "VERSION_PLACEHOLDER"
|
||||||
description: DESC_PLACEHOLDER
|
# description: DESC_PLACEHOLDER
|
||||||
rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:VERSION_PLACEHOLDER"
|
# rollout.kubernetes.io/change-cause: "DESC_PLACEHOLDER:VERSION_PLACEHOLDER"
|
||||||
spec:
|
#spec:
|
||||||
replicas: 1
|
# replicas: 1
|
||||||
selector:
|
# selector:
|
||||||
matchLabels:
|
# matchLabels:
|
||||||
app: zt-module-bpm
|
# app: zt-module-bpm
|
||||||
template:
|
# template:
|
||||||
metadata:
|
# metadata:
|
||||||
labels:
|
# labels:
|
||||||
app: zt-module-bpm
|
# app: zt-module-bpm
|
||||||
spec:
|
# spec:
|
||||||
containers:
|
# containers:
|
||||||
- name: zt-module-bpm
|
# - name: zt-module-bpm
|
||||||
image: 172.16.46.66:10043/zt/zt-module-bpm:VERSION_PLACEHOLDER
|
# image: 172.16.46.66:10043/zt/zt-module-bpm:VERSION_PLACEHOLDER
|
||||||
imagePullPolicy: Always
|
# imagePullPolicy: Always
|
||||||
env:
|
# env:
|
||||||
- name: TZ
|
# - name: TZ
|
||||||
value: Asia/Shanghai
|
# value: Asia/Shanghai
|
||||||
readinessProbe:
|
# readinessProbe:
|
||||||
httpGet:
|
# httpGet:
|
||||||
path: /actuator/health
|
# path: /actuator/health
|
||||||
port: 48083
|
# port: 48083
|
||||||
initialDelaySeconds: 50
|
# initialDelaySeconds: 50
|
||||||
periodSeconds: 5
|
# periodSeconds: 5
|
||||||
failureThreshold: 3
|
# failureThreshold: 3
|
||||||
livenessProbe:
|
# livenessProbe:
|
||||||
httpGet:
|
# httpGet:
|
||||||
path: /actuator/health
|
# path: /actuator/health
|
||||||
port: 48083
|
# port: 48083
|
||||||
initialDelaySeconds: 50
|
# initialDelaySeconds: 50
|
||||||
periodSeconds: 10
|
# periodSeconds: 10
|
||||||
failureThreshold: 5
|
# failureThreshold: 5
|
||||||
resources:
|
# resources:
|
||||||
requests:
|
# requests:
|
||||||
cpu: "500m"
|
# cpu: "500m"
|
||||||
memory: "1024Mi"
|
# memory: "1024Mi"
|
||||||
limits:
|
# limits:
|
||||||
cpu: "2048m"
|
# cpu: "2048m"
|
||||||
memory: "2048Mi"
|
# memory: "2048Mi"
|
||||||
terminationGracePeriodSeconds: 30
|
# terminationGracePeriodSeconds: 30
|
||||||
strategy:
|
# strategy:
|
||||||
type: RollingUpdate
|
# type: RollingUpdate
|
||||||
rollingUpdate:
|
# rollingUpdate:
|
||||||
maxSurge: 1
|
# maxSurge: 1
|
||||||
maxUnavailable: 0
|
# maxUnavailable: 0
|
||||||
---
|
#---
|
||||||
apiVersion: v1
|
#apiVersion: v1
|
||||||
kind: Service
|
#kind: Service
|
||||||
metadata:
|
#metadata:
|
||||||
namespace: ns-d6a0e78ebd674c279614498e4c57b133
|
# namespace: ns-d6a0e78ebd674c279614498e4c57b133
|
||||||
name: zt-module-bpm
|
# name: zt-module-bpm
|
||||||
spec:
|
#spec:
|
||||||
type: NodePort
|
# type: NodePort
|
||||||
selector:
|
# selector:
|
||||||
app: zt-module-bpm
|
# app: zt-module-bpm
|
||||||
ports:
|
# ports:
|
||||||
- protocol: TCP
|
# - protocol: TCP
|
||||||
port: 48083
|
# port: 48083
|
||||||
targetPort: 48083
|
# targetPort: 48083
|
||||||
nodePort: 30093
|
# nodePort: 30093
|
||||||
---
|
---
|
||||||
# zt-module-report
|
# zt-module-report
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
|
|||||||
Reference in New Issue
Block a user