发布时,网关不在同步进行发布
This commit is contained in:
100
deployment.yaml
100
deployment.yaml
@@ -1,53 +1,53 @@
|
|||||||
# zt-gateway
|
## zt-gateway
|
||||||
apiVersion: apps/v1
|
#apiVersion: apps/v1
|
||||||
kind: Deployment
|
#kind: Deployment
|
||||||
metadata:
|
#metadata:
|
||||||
namespace: ns-d6a0e78ebd674c279614498e4c57b133
|
# namespace: ns-d6a0e78ebd674c279614498e4c57b133
|
||||||
name: zt-gateway
|
# name: zt-gateway
|
||||||
labels:
|
# labels:
|
||||||
app: zt-gateway
|
# app: zt-gateway
|
||||||
spec:
|
#spec:
|
||||||
replicas: 1
|
# replicas: 1
|
||||||
selector:
|
# selector:
|
||||||
matchLabels:
|
# matchLabels:
|
||||||
app: zt-gateway
|
# app: zt-gateway
|
||||||
template:
|
# template:
|
||||||
metadata:
|
# metadata:
|
||||||
labels:
|
# labels:
|
||||||
app: zt-gateway
|
# app: zt-gateway
|
||||||
spec:
|
# spec:
|
||||||
containers:
|
# containers:
|
||||||
- name: zt-gateway
|
# - name: zt-gateway
|
||||||
image: 172.16.46.66:10043/zt/zt-gateway:VERSION_PLACEHOLDER
|
# image: 172.16.46.66:10043/zt/zt-gateway:VERSION_PLACEHOLDER
|
||||||
imagePullPolicy: Always
|
# imagePullPolicy: Always
|
||||||
env:
|
# env:
|
||||||
- name: TZ
|
# - name: TZ
|
||||||
value: Asia/Shanghai
|
# value: Asia/Shanghai
|
||||||
ports:
|
# ports:
|
||||||
- containerPort: 48080
|
# - containerPort: 48080
|
||||||
readinessProbe:
|
# readinessProbe:
|
||||||
httpGet:
|
# httpGet:
|
||||||
path: /actuator/health
|
# path: /actuator/health
|
||||||
port: 48080
|
# port: 48080
|
||||||
initialDelaySeconds: 50
|
# initialDelaySeconds: 50
|
||||||
periodSeconds: 5
|
# periodSeconds: 5
|
||||||
failureThreshold: 3
|
# failureThreshold: 3
|
||||||
livenessProbe:
|
# livenessProbe:
|
||||||
httpGet:
|
# httpGet:
|
||||||
path: /actuator/health
|
# path: /actuator/health
|
||||||
port: 48080
|
# port: 48080
|
||||||
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: "1024m"
|
# cpu: "1024m"
|
||||||
memory: "2048Mi"
|
# memory: "2048Mi"
|
||||||
terminationGracePeriodSeconds: 30
|
# terminationGracePeriodSeconds: 30
|
||||||
---
|
#---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
|
|||||||
Reference in New Issue
Block a user