Persistent influxdb data to directory on local host.

This commit is contained in:
Dawn Chen 2015-06-29 15:30:41 -07:00
parent 102a8a1e36
commit ff17623742

View File

@ -27,6 +27,9 @@ spec:
hostPort: 8083
- containerPort: 8086
hostPort: 8086
volumeMounts:
- name: influxdb-persistent-storage
mountPath: /data
- image: gcr.io/google_containers/heapster_grafana:v0.7
name: grafana
env:
@ -36,4 +39,7 @@ spec:
value: monitoring-influxdb
- name: INFLUXDB_PORT
value: "8086"
volumes:
- name: influxdb-persistent-storage
emptyDir: {}