Commit 92c7feaf authored by mksalawa's avatar mksalawa

Add liveness probe in controller configurations.

parent 84ad23d5
...@@ -44,6 +44,13 @@ spec: ...@@ -44,6 +44,13 @@ spec:
containers: containers:
- image: gcr.io/google_containers/heapster:v1.2.0-beta.2 - image: gcr.io/google_containers/heapster:v1.2.0-beta.2
name: heapster name: heapster
livenessProbe:
httpGet:
path: /healthz
port: 8080
scheme: HTTP
initialDelaySeconds: 180
timeoutSeconds: 5
resources: resources:
# keep request = limit to keep this container in guaranteed class # keep request = limit to keep this container in guaranteed class
limits: limits:
......
...@@ -44,6 +44,13 @@ spec: ...@@ -44,6 +44,13 @@ spec:
containers: containers:
- image: gcr.io/google_containers/heapster:v1.2.0-beta.2 - image: gcr.io/google_containers/heapster:v1.2.0-beta.2
name: heapster name: heapster
livenessProbe:
httpGet:
path: /healthz
port: 8080
scheme: HTTP
initialDelaySeconds: 180
timeoutSeconds: 5
resources: resources:
# keep request = limit to keep this container in guaranteed class # keep request = limit to keep this container in guaranteed class
limits: limits:
......
...@@ -44,6 +44,13 @@ spec: ...@@ -44,6 +44,13 @@ spec:
containers: containers:
- image: gcr.io/google_containers/heapster:v1.2.0-beta.2 - image: gcr.io/google_containers/heapster:v1.2.0-beta.2
name: heapster name: heapster
livenessProbe:
httpGet:
path: /healthz
port: 8080
scheme: HTTP
initialDelaySeconds: 180
timeoutSeconds: 5
resources: resources:
# keep request = limit to keep this container in guaranteed class # keep request = limit to keep this container in guaranteed class
limits: limits:
......
...@@ -40,6 +40,13 @@ spec: ...@@ -40,6 +40,13 @@ spec:
containers: containers:
- image: gcr.io/google_containers/heapster:v1.2.0-beta.2 - image: gcr.io/google_containers/heapster:v1.2.0-beta.2
name: heapster name: heapster
livenessProbe:
httpGet:
path: /healthz
port: 8080
scheme: HTTP
initialDelaySeconds: 180
timeoutSeconds: 5
resources: resources:
# keep request = limit to keep this container in guaranteed class # keep request = limit to keep this container in guaranteed class
limits: limits:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment