Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

process: do not enable profiler by default (backport #66) #84

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Mar 22, 2024

Problem:
NDM created with the hostNetwork: true. This parameter will expose the whole port on this pod to the host.
So, we need to prevent listening to unnecessary ports on NDM pods.

Solution:
we can disable profiler by default. NDM does not use it generally.

Related Issue:
harvester/harvester#4212

Test plan:
make sure the host does not listen :6060

harvester-node-0:~ # ss -tnal |grep 6060
LISTEN 0      4096               *:6060             *:*

This is an automatic backport of pull request #66 done by [Mergify](https://mergify.com).

    - we use `hostNetwork` because we need to listen uevent.
      `hostNetwork` will expose any listen ports to host, so we
      should prevent enable extra ports.

Signed-off-by: Vicente Cheng <vicente.cheng@suse.com>
(cherry picked from commit 99ecbeb)
@Vicente-Cheng Vicente-Cheng merged commit cce2023 into v0.5.x Mar 26, 2024
8 checks passed
@mergify mergify bot deleted the mergify/bp/v0.5.x/pr-66 branch March 26, 2024 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants