Add liveness probe in controller configurations.

pull/6/head
mksalawa 2016-08-29 15:48:50 +02:00
parent 84ad23d5e6
commit 92c7feaf53
4 changed files with 28 additions and 0 deletions

View File

@ -44,6 +44,13 @@ spec:
containers:
- image: gcr.io/google_containers/heapster:v1.2.0-beta.2
name: heapster
livenessProbe:
httpGet:
path: /healthz
port: 8080
scheme: HTTP
initialDelaySeconds: 180
timeoutSeconds: 5
resources:
# keep request = limit to keep this container in guaranteed class
limits:

View File

@ -44,6 +44,13 @@ spec:
containers:
- image: gcr.io/google_containers/heapster:v1.2.0-beta.2
name: heapster
livenessProbe:
httpGet:
path: /healthz
port: 8080
scheme: HTTP
initialDelaySeconds: 180
timeoutSeconds: 5
resources:
# keep request = limit to keep this container in guaranteed class
limits:

View File

@ -44,6 +44,13 @@ spec:
containers:
- image: gcr.io/google_containers/heapster:v1.2.0-beta.2
name: heapster
livenessProbe:
httpGet:
path: /healthz
port: 8080
scheme: HTTP
initialDelaySeconds: 180
timeoutSeconds: 5
resources:
# keep request = limit to keep this container in guaranteed class
limits:

View File

@ -40,6 +40,13 @@ spec:
containers:
- image: gcr.io/google_containers/heapster:v1.2.0-beta.2
name: heapster
livenessProbe:
httpGet:
path: /healthz
port: 8080
scheme: HTTP
initialDelaySeconds: 180
timeoutSeconds: 5
resources:
# keep request = limit to keep this container in guaranteed class
limits: