Skip to content

Commit 1938d39

Browse files
committed
updated all deployments with health check
1 parent e8941e5 commit 1938d39

File tree

5 files changed

+62
-2
lines changed

5 files changed

+62
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ spec:
4646
livenessProbe:
4747
httpGet:
4848
path: /health-check
49-
port: 8944
49+
port: prometheus
5050
scheme: HTTP
5151
initialDelaySeconds: 5
5252
periodSeconds: 10
5353
failureThreshold: 3
5454
readinessProbe:
5555
httpGet:
5656
path: /health-check
57-
port: 8944
57+
port: prometheus
5858
scheme: HTTP
5959
periodSeconds: 10
6060
failureThreshold: 3

vertical-pod-autoscaler/deploy/recommender-deployment-high.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,18 @@ spec:
4141
ports:
4242
- name: prometheus
4343
containerPort: 8942
44+
livenessProbe:
45+
httpGet:
46+
path: /health-check
47+
port: prometheus
48+
scheme: HTTP
49+
initialDelaySeconds: 5
50+
periodSeconds: 10
51+
failureThreshold: 3
52+
readinessProbe:
53+
httpGet:
54+
path: /health-check
55+
port: prometheus
56+
scheme: HTTP
57+
periodSeconds: 10
58+
failureThreshold: 3

vertical-pod-autoscaler/deploy/recommender-deployment-low.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,18 @@ spec:
4141
ports:
4242
- name: prometheus
4343
containerPort: 8942
44+
livenessProbe:
45+
httpGet:
46+
path: /health-check
47+
port: prometheus
48+
scheme: HTTP
49+
initialDelaySeconds: 5
50+
periodSeconds: 10
51+
failureThreshold: 3
52+
readinessProbe:
53+
httpGet:
54+
path: /health-check
55+
port: prometheus
56+
scheme: HTTP
57+
periodSeconds: 10
58+
failureThreshold: 3

vertical-pod-autoscaler/deploy/recommender-deployment.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,18 @@ spec:
3232
ports:
3333
- name: prometheus
3434
containerPort: 8942
35+
livenessProbe:
36+
httpGet:
37+
path: /health-check
38+
port: prometheus
39+
scheme: HTTP
40+
initialDelaySeconds: 5
41+
periodSeconds: 10
42+
failureThreshold: 3
43+
readinessProbe:
44+
httpGet:
45+
path: /health-check
46+
port: prometheus
47+
scheme: HTTP
48+
periodSeconds: 10
49+
failureThreshold: 3

vertical-pod-autoscaler/deploy/updater-deployment.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,18 @@ spec:
3737
ports:
3838
- name: prometheus
3939
containerPort: 8943
40+
livenessProbe:
41+
httpGet:
42+
path: /health-check
43+
port: prometheus
44+
scheme: HTTP
45+
initialDelaySeconds: 5
46+
periodSeconds: 10
47+
failureThreshold: 3
48+
readinessProbe:
49+
httpGet:
50+
path: /health-check
51+
port: prometheus
52+
scheme: HTTP
53+
periodSeconds: 10
54+
failureThreshold: 3

0 commit comments

Comments
 (0)