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

Disable metrics and health checks ports in config daemon #28

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

almaslennikov
Copy link
Collaborator

We don't use metrics and health checks endpoints in the config daemon, and they use common 8080/8081 ports by default, which might be taken on a busy node. Since we have to use host network inside the pod, this might result in a crash loop while waiting for the port to free up

The solution is to disable metrics and health checks until we need them

@coveralls
Copy link

coveralls commented Oct 15, 2024

Pull Request Test Coverage Report for Build 11345856770

Details

  • 0 of 3 (0.0%) changed or added relevant lines in 1 file are covered.
  • 31 unchanged lines in 3 files lost coverage.
  • Overall coverage decreased (-0.3%) to 59.811%

Changes Missing Coverage Covered Lines Changed/Added Lines %
cmd/nic-configuration-daemon/main.go 0 3 0.0%
Files with Coverage Reduction New Missed Lines %
pkg/host/configvalidation.go 3 88.65%
pkg/host/host.go 7 82.74%
pkg/host/mocks/HostUtils.go 21 56.55%
Totals Coverage Status
Change from base Build 11345536276: -0.3%
Covered Lines: 1713
Relevant Lines: 2864

💛 - Coveralls

We don't use metrics and health checks endpoints in the config daemon,
and they use common 8080/8081 ports by default, which might be taken
on a busy node. Since we have to use host network inside the pod,
this might result in a crash loop while waiting for the port to free up

The solution is to disable metrics and health checks until we need them

Signed-off-by: Alexander Maslennikov <amaslennikov@nvidia.com>
@almaslennikov almaslennikov merged commit b1f64b3 into main Oct 16, 2024
14 checks passed
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