Skip to content

Commit e8941e5

Browse files
committed
add readiness and liveness for vpa admission
1 parent 9bc4220 commit e8941e5

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

vertical-pod-autoscaler/deploy/admission-controller-deployment.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,21 @@ spec:
4343
- containerPort: 8000
4444
- name: prometheus
4545
containerPort: 8944
46+
livenessProbe:
47+
httpGet:
48+
path: /health-check
49+
port: 8944
50+
scheme: HTTP
51+
initialDelaySeconds: 5
52+
periodSeconds: 10
53+
failureThreshold: 3
54+
readinessProbe:
55+
httpGet:
56+
path: /health-check
57+
port: 8944
58+
scheme: HTTP
59+
periodSeconds: 10
60+
failureThreshold: 3
4661
volumes:
4762
- name: tls-certs
4863
secret:

0 commit comments

Comments
 (0)