From 92c7feaf53862399297c2d019fea5a51f19cfeff Mon Sep 17 00:00:00 2001 From: mksalawa Date: Mon, 29 Aug 2016 15:48:50 +0200 Subject: [PATCH] Add liveness probe in controller configurations. --- .../cluster-monitoring/google/heapster-controller.yaml | 7 +++++++ .../googleinfluxdb/heapster-controller-combined.yaml | 7 +++++++ .../cluster-monitoring/influxdb/heapster-controller.yaml | 7 +++++++ .../cluster-monitoring/standalone/heapster-controller.yaml | 7 +++++++ 4 files changed, 28 insertions(+) diff --git a/cluster/addons/cluster-monitoring/google/heapster-controller.yaml b/cluster/addons/cluster-monitoring/google/heapster-controller.yaml index c6d966ada0b..a6c643ba1de 100644 --- a/cluster/addons/cluster-monitoring/google/heapster-controller.yaml +++ b/cluster/addons/cluster-monitoring/google/heapster-controller.yaml @@ -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: diff --git a/cluster/addons/cluster-monitoring/googleinfluxdb/heapster-controller-combined.yaml b/cluster/addons/cluster-monitoring/googleinfluxdb/heapster-controller-combined.yaml index b7a7cbdc41e..ea62e18ac48 100644 --- a/cluster/addons/cluster-monitoring/googleinfluxdb/heapster-controller-combined.yaml +++ b/cluster/addons/cluster-monitoring/googleinfluxdb/heapster-controller-combined.yaml @@ -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: diff --git a/cluster/addons/cluster-monitoring/influxdb/heapster-controller.yaml b/cluster/addons/cluster-monitoring/influxdb/heapster-controller.yaml index 8862df55156..fce29c5ba7e 100644 --- a/cluster/addons/cluster-monitoring/influxdb/heapster-controller.yaml +++ b/cluster/addons/cluster-monitoring/influxdb/heapster-controller.yaml @@ -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: diff --git a/cluster/addons/cluster-monitoring/standalone/heapster-controller.yaml b/cluster/addons/cluster-monitoring/standalone/heapster-controller.yaml index a3bfe18b77e..12f3eca11d4 100644 --- a/cluster/addons/cluster-monitoring/standalone/heapster-controller.yaml +++ b/cluster/addons/cluster-monitoring/standalone/heapster-controller.yaml @@ -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: