mirror of https://github.com/k3s-io/k3s
Specify host/container ports for InfluxDB, so that the UI is accessible.
parent
0f22b6fc4d
commit
acbd3d78f1
|
@ -16,6 +16,11 @@ desiredState:
|
||||||
containers:
|
containers:
|
||||||
- name: influxdb
|
- name: influxdb
|
||||||
image: gcr.io/google_containers/heapster_influxdb:v0.3
|
image: gcr.io/google_containers/heapster_influxdb:v0.3
|
||||||
|
ports:
|
||||||
|
- containerPort: 8083
|
||||||
|
hostPort: 8083
|
||||||
|
- containerPort: 8086
|
||||||
|
hostPort: 8086
|
||||||
- name: grafana
|
- name: grafana
|
||||||
image: gcr.io/google_containers/heapster_grafana:v0.6
|
image: gcr.io/google_containers/heapster_grafana:v0.6
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -18,6 +18,11 @@ spec:
|
||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/heapster_influxdb:v0.3
|
- image: gcr.io/google_containers/heapster_influxdb:v0.3
|
||||||
name: influxdb
|
name: influxdb
|
||||||
|
ports:
|
||||||
|
- containerPort: 8083
|
||||||
|
hostPort: 8083
|
||||||
|
- containerPort: 8086
|
||||||
|
hostPort: 8086
|
||||||
- name: grafana
|
- name: grafana
|
||||||
image: gcr.io/google_containers/heapster_grafana:v0.6
|
image: gcr.io/google_containers/heapster_grafana:v0.6
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in New Issue