1
This commit is contained in:
parent
a7a15c8442
commit
c47dbf1e45
@ -3,6 +3,7 @@ kind: Deployment
|
||||
metadata:
|
||||
name: stock2-java-api
|
||||
spec:
|
||||
replicas: 3
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
@ -19,6 +20,14 @@ spec:
|
||||
env:
|
||||
- name: TZ
|
||||
value: "Asia/Shanghai"
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /api/service.do
|
||||
port: 80
|
||||
initialDelaySeconds: 60
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 3
|
||||
failureThreshold: 3
|
||||
# resources:
|
||||
# requests:
|
||||
# cpu: "0.5"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user