mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Persistent influxdb data to directory on local host.
This commit is contained in:
parent
102a8a1e36
commit
ff17623742
@ -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:
|
|||||||
value: monitoring-influxdb
|
value: monitoring-influxdb
|
||||||
- name: INFLUXDB_PORT
|
- name: INFLUXDB_PORT
|
||||||
value: "8086"
|
value: "8086"
|
||||||
|
volumes:
|
||||||
|
- name: influxdb-persistent-storage
|
||||||
|
emptyDir: {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user