mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-25 03:21:15 +00:00
Remove host port in influxdb-grafana-controller.yaml
There is no valid reason to keep the host ports in the pod spec.
This commit is contained in:
parent
6e99624dd6
commit
e97eb4dc6a
@ -32,9 +32,7 @@ spec:
|
|||||||
memory: 500Mi
|
memory: 500Mi
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8083
|
- containerPort: 8083
|
||||||
hostPort: 8083
|
|
||||||
- containerPort: 8086
|
- containerPort: 8086
|
||||||
hostPort: 8086
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: influxdb-persistent-storage
|
- name: influxdb-persistent-storage
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
|
@ -28,9 +28,7 @@ spec:
|
|||||||
memory: 500Mi
|
memory: 500Mi
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8083
|
- containerPort: 8083
|
||||||
hostPort: 8083
|
|
||||||
- containerPort: 8086
|
- containerPort: 8086
|
||||||
hostPort: 8086
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: influxdb-persistent-storage
|
- name: influxdb-persistent-storage
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
|
Loading…
Reference in New Issue
Block a user