diff --git a/vertical-pod-autoscaler/deploy/admission-controller-deployment.yaml b/vertical-pod-autoscaler/deploy/admission-controller-deployment.yaml index a46baf7af2..228ca12678 100644 --- a/vertical-pod-autoscaler/deploy/admission-controller-deployment.yaml +++ b/vertical-pod-autoscaler/deploy/admission-controller-deployment.yaml @@ -43,6 +43,21 @@ spec: - containerPort: 8000 - name: prometheus containerPort: 8944 + livenessProbe: + httpGet: + path: /health-check + port: prometheus + scheme: HTTP + initialDelaySeconds: 5 + periodSeconds: 10 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /health-check + port: prometheus + scheme: HTTP + periodSeconds: 10 + failureThreshold: 3 volumes: - name: tls-certs secret: diff --git a/vertical-pod-autoscaler/deploy/recommender-deployment-high.yaml b/vertical-pod-autoscaler/deploy/recommender-deployment-high.yaml index 664e431c64..781b1d58f8 100644 --- a/vertical-pod-autoscaler/deploy/recommender-deployment-high.yaml +++ b/vertical-pod-autoscaler/deploy/recommender-deployment-high.yaml @@ -41,3 +41,18 @@ spec: ports: - name: prometheus containerPort: 8942 + livenessProbe: + httpGet: + path: /health-check + port: prometheus + scheme: HTTP + initialDelaySeconds: 5 + periodSeconds: 10 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /health-check + port: prometheus + scheme: HTTP + periodSeconds: 10 + failureThreshold: 3 diff --git a/vertical-pod-autoscaler/deploy/recommender-deployment-low.yaml b/vertical-pod-autoscaler/deploy/recommender-deployment-low.yaml index 1118ca406e..c18b842c26 100644 --- a/vertical-pod-autoscaler/deploy/recommender-deployment-low.yaml +++ b/vertical-pod-autoscaler/deploy/recommender-deployment-low.yaml @@ -41,3 +41,18 @@ spec: ports: - name: prometheus containerPort: 8942 + livenessProbe: + httpGet: + path: /health-check + port: prometheus + scheme: HTTP + initialDelaySeconds: 5 + periodSeconds: 10 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /health-check + port: prometheus + scheme: HTTP + periodSeconds: 10 + failureThreshold: 3 diff --git a/vertical-pod-autoscaler/deploy/recommender-deployment.yaml b/vertical-pod-autoscaler/deploy/recommender-deployment.yaml index e99eab7c24..cb85c912c1 100644 --- a/vertical-pod-autoscaler/deploy/recommender-deployment.yaml +++ b/vertical-pod-autoscaler/deploy/recommender-deployment.yaml @@ -32,3 +32,18 @@ spec: ports: - name: prometheus containerPort: 8942 + livenessProbe: + httpGet: + path: /health-check + port: prometheus + scheme: HTTP + initialDelaySeconds: 5 + periodSeconds: 10 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /health-check + port: prometheus + scheme: HTTP + periodSeconds: 10 + failureThreshold: 3 diff --git a/vertical-pod-autoscaler/deploy/updater-deployment.yaml b/vertical-pod-autoscaler/deploy/updater-deployment.yaml index 699796ad6d..629a5458e6 100644 --- a/vertical-pod-autoscaler/deploy/updater-deployment.yaml +++ b/vertical-pod-autoscaler/deploy/updater-deployment.yaml @@ -37,3 +37,18 @@ spec: ports: - name: prometheus containerPort: 8943 + livenessProbe: + httpGet: + path: /health-check + port: prometheus + scheme: HTTP + initialDelaySeconds: 5 + periodSeconds: 10 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /health-check + port: prometheus + scheme: HTTP + periodSeconds: 10 + failureThreshold: 3