修复 bpm 部署资源文件
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
namespace: ns-f16a3067ca7b434aad127d15eac82503
|
namespace: ns-d6a0e78ebd674c279614498e4c57b133
|
||||||
name: zt-module-bpm
|
name: zt-module-bpm
|
||||||
labels:
|
labels:
|
||||||
app: zt-module-bpm
|
app: zt-module-bpm
|
||||||
@@ -41,6 +41,13 @@ spec:
|
|||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
failureThreshold: 5
|
failureThreshold: 5
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: "500m"
|
||||||
|
memory: "1024Mi"
|
||||||
|
limits:
|
||||||
|
cpu: "700m"
|
||||||
|
memory: "2048Mi"
|
||||||
terminationGracePeriodSeconds: 30
|
terminationGracePeriodSeconds: 30
|
||||||
strategy:
|
strategy:
|
||||||
type: RollingUpdate
|
type: RollingUpdate
|
||||||
@@ -51,13 +58,14 @@ spec:
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
namespace: ns-f16a3067ca7b434aad127d15eac82503
|
namespace: ns-d6a0e78ebd674c279614498e4c57b133
|
||||||
name: zt-module-bpm
|
name: zt-module-bpm
|
||||||
spec:
|
spec:
|
||||||
type: ClusterIP
|
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
|
||||||
Reference in New Issue
Block a user