|
@@ -17,7 +17,7 @@ spec:
|
|
|
labels:
|
|
|
app: realtime-yuewen-v2
|
|
|
spec:
|
|
|
- terminationGracePeriodSeconds: 180
|
|
|
+ terminationGracePeriodSeconds: 30
|
|
|
dnsPolicy: ClusterFirstWithHostNet
|
|
|
dnsConfig:
|
|
|
nameservers:
|
|
@@ -47,7 +47,7 @@ spec:
|
|
|
# topologyKey: kubernetes.io/hostname
|
|
|
containers:
|
|
|
- name: realtime-yuewen-v2
|
|
|
- image: hub.evbj.easou.com/pro/realtime-yuewen-v2:r188514
|
|
|
+ image: hub.evbj.easou.com/pro/realtime-yuewen-v2:r188518
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
env:
|
|
|
- name: MY_NODE_NAME
|
|
@@ -89,11 +89,11 @@ spec:
|
|
|
value: admin
|
|
|
- name: password
|
|
|
value: ea1so2ua3dm4in5
|
|
|
- initialDelaySeconds: 40 #60s后启动第一次探测
|
|
|
- periodSeconds: 15 # 每隔10s启动一次探测
|
|
|
+ initialDelaySeconds: 10 #60s后启动第一次探测
|
|
|
+ periodSeconds: 10 # 每隔10s启动一次探测
|
|
|
timeoutSeconds: 3 # 超时时间3s
|
|
|
successThreshold: 1 # 成功1次即表示容器健康
|
|
|
- failureThreshold: 5 # 连续5次失败,则判定容器不健康,默认3次
|
|
|
+ failureThreshold: 2 # 连续5次失败,则判定容器不健康,默认3次
|
|
|
readinessProbe:
|
|
|
tcpSocket:
|
|
|
port: 8080
|