mirror of
https://github.com/lensapp/lens.git
synced 2024-09-11 09:25:26 +03:00
Don't use hostPort or hostNetwork (#56)
There is no need to use a hostPort or the hostNetwork; avoiding hostPort allocation improves compatibility with other cluster monitoring and avoiding hostNetwork ensures public-facing clusters don't have an exploitable ports.
This commit is contained in:
parent
88d2b49ab8
commit
15d586d574
@ -25,7 +25,6 @@ spec:
|
||||
securityContext:
|
||||
runAsNonRoot: true
|
||||
runAsUser: 65534
|
||||
hostNetwork: true
|
||||
hostPID: true
|
||||
containers:
|
||||
- name: node-exporter
|
||||
@ -39,7 +38,6 @@ spec:
|
||||
ports:
|
||||
- name: metrics
|
||||
containerPort: 9100
|
||||
hostPort: 9100
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
|
Loading…
Reference in New Issue
Block a user