启用prob

This commit is contained in:
2023-08-12 14:33:18 +08:00
parent ea76613762
commit 62e08fac08
2 changed files with 19 additions and 1 deletions

View File

@@ -19,6 +19,21 @@ spec:
- name: coal-api
image: coal
imagePullPolicy: Always
livenessProbe:
httpGet:
path: /actuator/health/liveness
port: 7456
scheme: http
initialDelaySeconds: 3
periodSeconds: 3
readinessProbe:
httpGet:
path: /actuator/health/readiness
port: 7456
scheme: http
initialDelaySeconds: 3
periodSeconds: 3
ports:
- containerPort: 7456
env: