Merge pull request #8427 from vishh/heapster_v0.12.1

Updating heapster to v0.12.1.
This commit is contained in:
Victor Marmol 2015-05-18 14:01:20 -07:00
commit 397b7d1bf2
4 changed files with 26 additions and 12 deletions

View File

@ -16,17 +16,28 @@ spec:
kubernetes.io/cluster-service: "true"
spec:
containers:
- image: gcr.io/google_containers/heapster:v0.11.0
- image: gcr.io/google_containers/heapster:v0.12.1
name: heapster
env:
- name: FLAGS
value: "--poll_duration=2m --stats_resolution=1m --sink=gcm --sink=gcl"
command:
- /heapster
- --source=kubernetes:https://kubernetes
- --sink=gcm
- --sink=gcl
- --poll_duration=2m
- --stats_resolution=1m
volumeMounts:
- name: ssl-certs
mountPath: /etc/ssl/certs
readOnly: true
- name: monitoring-token
mountPath: /etc/kubernetes/kubeconfig
readOnly: true
volumes:
- name: ssl-certs
hostPath:
path: /etc/ssl/certs
- name: monitoring-token
secret:
secretName: token-system-monitoring

View File

@ -2,7 +2,6 @@ apiVersion: v1beta3
kind: Service
metadata:
labels:
name: influxGrafana
kubernetes.io/cluster-service: "true"
kubernetes.io/name: "Grafana"
name: monitoring-grafana

View File

@ -16,17 +16,23 @@ spec:
kubernetes.io/cluster-service: "true"
spec:
containers:
- image: gcr.io/google_containers/heapster:v0.11.0
- image: gcr.io/google_containers/heapster:v0.12.1
name: heapster
env:
- name: FLAGS
value: "--poll_duration=2m --stats_resolution=1m --sink influxdb:http://monitoring-influxdb.default:8086"
command:
- /heapster
- --source=kubernetes:https://kubernetes
- --sink=influxdb:http://monitoring-influxdb:8086
volumeMounts:
- name: ssl-certs
mountPath: /etc/ssl/certs
readOnly: true
- name: monitoring-token
mountPath: /etc/kubernetes/kubeconfig
readOnly: true
volumes:
- name: ssl-certs
hostPath:
path: "/etc/ssl/certs"
- name: monitoring-token
secret:
secretName: token-system-monitoring

View File

@ -3,8 +3,6 @@ kind: Service
metadata:
labels:
name: influxGrafana
kubernetes.io/cluster-service: "true"
kubernetes.io/name: "InfluxDB"
name: monitoring-influxdb
spec:
ports: