This commit is contained in:
owen 2025-04-01 09:54:38 +08:00
parent a7a15c8442
commit c47dbf1e45

View File

@ -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"