Merge pull request #8346 from jklaw90/readiness-prob
fix: VPA add readiness and liveness for vpa admission
This commit is contained in:
commit
ff6e93bfc3
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue