From bc024905bd43655faa9ce3fc1164c119199216eb Mon Sep 17 00:00:00 2001 From: zouyee Date: Tue, 11 Dec 2018 10:39:58 +0800 Subject: [PATCH] bump heapster version and mark it retired --- addons/monitoring-standalone/README.md | 10 +++++++++- addons/monitoring-standalone/v1.11.0.yaml | 2 +- docs/addons.md | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/addons/monitoring-standalone/README.md b/addons/monitoring-standalone/README.md index 08f77159df..a82153dd0f 100644 --- a/addons/monitoring-standalone/README.md +++ b/addons/monitoring-standalone/README.md @@ -1,6 +1,14 @@ # Monitoring Standalone Addon -Heapster provides basic cluster monitoring and is used for running HorizontalPodAutoscalers and integrating metrics into the kubernetes dashboard. +***RETIRED***:Heapster provides basic cluster monitoring and is used for running HorizontalPodAutoscalers and integrating metrics into the kubernetes dashboard. +The following are potential migration paths for Heapster functionality: + +- **For basic CPU/memory HPA metrics**: Use [metrics-server](https://github.com/kubernetes-incubator/metrics-server). + +- **For general monitoring**: Consider a third-party monitoring pipeline that can gather Prometheus-formatted metrics. + The kubelet exposes all the metrics exported by Heapster in Prometheus format. + One such monitoring pipeline can be set up using the [Prometheus Operator](https://github.com/coreos/prometheus-operator), which + deploys Prometheus itself for this purpose. ## Usage diff --git a/addons/monitoring-standalone/v1.11.0.yaml b/addons/monitoring-standalone/v1.11.0.yaml index 1a80dc27f7..8049a448fa 100644 --- a/addons/monitoring-standalone/v1.11.0.yaml +++ b/addons/monitoring-standalone/v1.11.0.yaml @@ -25,7 +25,7 @@ spec: spec: serviceAccountName: heapster containers: - - image: k8s.gcr.io/heapster-amd64:v1.5.3 + - image: k8s.gcr.io/heapster-amd64:v1.5.4 name: heapster livenessProbe: httpGet: diff --git a/docs/addons.md b/docs/addons.md index 9af242e331..b2eaacdc34 100644 --- a/docs/addons.md +++ b/docs/addons.md @@ -126,7 +126,7 @@ Install using: ``` kubectl create -f https://raw.githubusercontent.com/kubernetes/kops/master/addons/monitoring-standalone/v1.11.0.yaml ``` -Please note that [heapster is deprecated](https://github.com/kubernetes/heapster/blob/master/docs/deprecation.md). Consider using [metrics-server](https://github.com/kubernetes-incubator/metrics-server) and a third party metrics pipeline to gather Prometheus-format metrics instead. +Please note that [heapster is retired](https://github.com/kubernetes/heapster/blob/master/docs/deprecation.md). Consider using [metrics-server](https://github.com/kubernetes-incubator/metrics-server) and a third party metrics pipeline to gather Prometheus-format metrics instead. ### Monitoring with Prometheus Operator + kube-prometheus