Commit ff176237 authored by Dawn Chen's avatar Dawn Chen

Persistent influxdb data to directory on local host.

parent 102a8a1e
...@@ -27,6 +27,9 @@ spec: ...@@ -27,6 +27,9 @@ spec:
hostPort: 8083 hostPort: 8083
- containerPort: 8086 - containerPort: 8086
hostPort: 8086 hostPort: 8086
volumeMounts:
- name: influxdb-persistent-storage
mountPath: /data
- image: gcr.io/google_containers/heapster_grafana:v0.7 - image: gcr.io/google_containers/heapster_grafana:v0.7
name: grafana name: grafana
env: env:
...@@ -36,4 +39,7 @@ spec: ...@@ -36,4 +39,7 @@ spec:
value: monitoring-influxdb value: monitoring-influxdb
- name: INFLUXDB_PORT - name: INFLUXDB_PORT
value: "8086" value: "8086"
volumes:
- name: influxdb-persistent-storage
emptyDir: {}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment