diff --git a/cluster/addons/cluster-monitoring/influxdb/influxdb-grafana-controller.yaml b/cluster/addons/cluster-monitoring/influxdb/influxdb-grafana-controller.yaml index 94d3dc06b2b89..3a92b0fcb7f64 100644 --- a/cluster/addons/cluster-monitoring/influxdb/influxdb-grafana-controller.yaml +++ b/cluster/addons/cluster-monitoring/influxdb/influxdb-grafana-controller.yaml @@ -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: {}