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:
|
||||
- name: influxdb
|
||||
image: gcr.io/google_containers/heapster_influxdb:v0.3
|
||||
ports:
|
||||
- containerPort: 8083
|
||||
hostPort: 8083
|
||||
- containerPort: 8086
|
||||
hostPort: 8086
|
||||
- name: grafana
|
||||
image: gcr.io/google_containers/heapster_grafana:v0.6
|
||||
env:
|
||||
|
|
|
@ -18,6 +18,11 @@ spec:
|
|||
containers:
|
||||
- image: gcr.io/google_containers/heapster_influxdb:v0.3
|
||||
name: influxdb
|
||||
ports:
|
||||
- containerPort: 8083
|
||||
hostPort: 8083
|
||||
- containerPort: 8086
|
||||
hostPort: 8086
|
||||
- name: grafana
|
||||
image: gcr.io/google_containers/heapster_grafana:v0.6
|
||||
env:
|
||||
|
|
Loading…
Reference in New Issue