Merge pull request #6195 from zouyee/dp

update heapster version and mark it retired
This commit is contained in:
Kubernetes Prow Robot 2018-12-12 12:07:52 -08:00 committed by GitHub
commit c2cd44f596
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 3 deletions

View File

@ -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

View File

@ -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:

View File

@ -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