新增监控接口

This commit is contained in:
沈健
2021-06-07 13:43:20 +08:00
parent 560bde3f78
commit ab4bbbffcd
3 changed files with 36 additions and 5 deletions
+6 -4
View File
@@ -39,13 +39,15 @@ spec:
name: web
protocol: TCP
readinessProbe:
tcpSocket:
port: 8080
httpGet:
path: /k8s/readiness
port: web
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
tcpSocket:
port: 8080
httpGet:
path: /k8s/liveness
port: web
initialDelaySeconds: 10
periodSeconds: 5
volumeMounts: