mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 18:24:07 +00:00
Merge pull request #8427 from vishh/heapster_v0.12.1
Updating heapster to v0.12.1.
This commit is contained in:
commit
397b7d1bf2
@ -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
|
||||
|
||||
|
@ -2,7 +2,6 @@ apiVersion: v1beta3
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
name: influxGrafana
|
||||
kubernetes.io/cluster-service: "true"
|
||||
kubernetes.io/name: "Grafana"
|
||||
name: monitoring-grafana
|
||||
|
@ -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
|
||||
|
@ -3,8 +3,6 @@ kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
name: influxGrafana
|
||||
kubernetes.io/cluster-service: "true"
|
||||
kubernetes.io/name: "InfluxDB"
|
||||
name: monitoring-influxdb
|
||||
spec:
|
||||
ports:
|
||||
|
Loading…
Reference in New Issue
Block a user