新增 databus 部署
This commit is contained in:
@@ -351,14 +351,14 @@ spec:
|
||||
targetPort: 48084
|
||||
nodePort: 30094
|
||||
---
|
||||
# zt-module-template
|
||||
# zt-module-databus
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
namespace: ns-d6a0e78ebd674c279614498e4c57b133
|
||||
name: zt-module-template
|
||||
name: zt-module-databus
|
||||
labels:
|
||||
app: zt-module-template
|
||||
app: zt-module-databus
|
||||
annotations:
|
||||
version: "VERSION_PLACEHOLDER"
|
||||
description: DESC_PLACEHOLDER
|
||||
@@ -367,15 +367,15 @@ spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: zt-module-template
|
||||
app: zt-module-databus
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: zt-module-template
|
||||
app: zt-module-databus
|
||||
spec:
|
||||
containers:
|
||||
- name: zt-module-template
|
||||
image: 172.16.46.66:10043/zt/zt-module-template:VERSION_PLACEHOLDER
|
||||
- name: zt-module-databus
|
||||
image: 172.16.46.66:10043/zt/zt-module-databus:VERSION_PLACEHOLDER
|
||||
imagePullPolicy: Always
|
||||
env:
|
||||
- name: TZ
|
||||
@@ -412,11 +412,11 @@ apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
namespace: ns-d6a0e78ebd674c279614498e4c57b133
|
||||
name: zt-module-template
|
||||
name: zt-module-databus
|
||||
spec:
|
||||
type: NodePort
|
||||
selector:
|
||||
app: zt-module-template
|
||||
app: zt-module-databus
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 48100
|
||||
|
||||
Reference in New Issue
Block a user