1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-28 06:29:29 +01:00

add liveness probe

This commit is contained in:
Jane Liu L
2021-12-27 09:34:47 +08:00
parent 2b23694704
commit c38f617e40
11 changed files with 47 additions and 12 deletions

View File

@@ -33,6 +33,14 @@ spec:
ports:
- containerPort: 10258
protocol: TCP
livenessProbe:
failureThreshold: 3
httpGet:
path: /healthz
port: 10258
scheme: HTTPS
initialDelaySeconds: 3
periodSeconds: 3
resources:
requests:
cpu: 500m