补充新部署配置
This commit is contained in:
@@ -1,3 +1,46 @@
|
|||||||
|
# yudao-gateway
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
namespace: ns-f16a3067ca7b434aad127d15eac82503
|
||||||
|
name: yudao-gateway
|
||||||
|
labels:
|
||||||
|
app: yudao-gateway
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: yudao-gateway
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: yudao-gateway
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: yudao-gateway
|
||||||
|
image: 172.16.46.66:10043/yudao/yudao-gateway:VERSION_PLACEHOLDER
|
||||||
|
imagePullPolicy: Always
|
||||||
|
env:
|
||||||
|
- name: TZ
|
||||||
|
value: Asia/Shanghai
|
||||||
|
ports:
|
||||||
|
- containerPort: 48080
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
namespace: ns-f16a3067ca7b434aad127d15eac82503
|
||||||
|
name: yudao-gateway
|
||||||
|
spec:
|
||||||
|
type: NodePort
|
||||||
|
selector:
|
||||||
|
app: yudao-gateway
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
port: 48080
|
||||||
|
targetPort: 48080
|
||||||
|
nodePort: 30081
|
||||||
|
|
||||||
# yudao-module-infra
|
# yudao-module-infra
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
|
|||||||
Reference in New Issue
Block a user