修改2503的行情服务器为行情集群,添加api的健康检查
This commit is contained in:
parent
e24fbb03f6
commit
40573b6856
@ -4,6 +4,6 @@ metadata:
|
||||
name: external-service
|
||||
subsets:
|
||||
- addresses:
|
||||
- ip: 43.139.60.86 # 你的外部服务器 IP
|
||||
- ip: 111.230.204.79 # 你的外部服务器 IP
|
||||
ports:
|
||||
- port: 8188 # 目标服务器端口
|
||||
- port: 58288 # 目标服务器端口
|
||||
@ -20,6 +20,14 @@ spec:
|
||||
env:
|
||||
- name: TZ
|
||||
value: "Asia/Shanghai"
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /api/service.do
|
||||
port: 8080
|
||||
initialDelaySeconds: 60
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 3
|
||||
failureThreshold: 3
|
||||
# resources:
|
||||
# requests:
|
||||
# cpu: "0.5"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user