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

[prometheus-node-exporter] permit to customize service clusterIP #4597

Merged
merged 3 commits into from
Jun 9, 2024

Conversation

nerzhul
Copy link
Contributor

@nerzhul nerzhul commented Jun 7, 2024

It permits to disable clusterIP which is not required to fetch metrics. On cluster with very huge node number always moving, it create a loadbalancer on each node using much memory and CPU due to watches from the service proxy

What this PR does / why we need it

Permit to customize node-exporter ClusterIP field, permitting people to disable this ClusterIP which is always updating its backend when nodes are added created, generating much work on each {service,kube}-proxy pod on the cluster

Special notes for your reviewer

Checklist

  • DCO signed
  • Chart Version bumped
  • Title of the PR starts with chart name (e.g. [prometheus-couchdb-exporter])

@nerzhul
Copy link
Contributor Author

nerzhul commented Jun 7, 2024

This is for comments, i'll sign the DCO after that, if you agree with the change

Copy link
Member

@zeritti zeritti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @nerzhul, for your PR. Providing users with an option to set clusterIP is not uncommon, I reckon we can support the new field in the chart.

charts/prometheus-node-exporter/templates/service.yaml Outdated Show resolved Hide resolved
@nerzhul
Copy link
Contributor Author

nerzhul commented Jun 9, 2024

rebased, squashed & signed

@nerzhul nerzhul closed this Jun 9, 2024
@nerzhul nerzhul reopened this Jun 9, 2024
It permits to disable clusterIP which is not required to fetch metrics.

On clusters with very huge node number always moving, it create a loadbalancer on each node using much memory and CPU due to watches from the service proxy

Signed-off-by: Loic Blot <loic.blot@unix-experience.fr>
@nerzhul
Copy link
Contributor Author

nerzhul commented Jun 9, 2024

@zeritti thanks for your comments, all is fixed :)

@jkroepke jkroepke removed their request for review June 9, 2024 10:58
Signed-off-by: MH <zanhsieh@gmail.com>
zanhsieh
zanhsieh previously approved these changes Jun 9, 2024
Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com>
@zeritti zeritti merged commit 0ce6914 into prometheus-community:main Jun 9, 2024
4 checks passed
@nerzhul nerzhul deleted the patch-node-exporter branch June 9, 2024 20:49
kireque pushed a commit to kireque/home-ops that referenced this pull request Jun 10, 2024
…#643)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[prometheus-node-exporter](https://togithub.com/prometheus/node_exporter/)
([source](https://togithub.com/prometheus-community/helm-charts)) |
minor | `4.35.0` -> `4.36.0` |

---

### Release Notes

<details>
<summary>prometheus-community/helm-charts
(prometheus-node-exporter)</summary>

###
[`v4.36.0`](https://togithub.com/prometheus-community/helm-charts/releases/tag/prometheus-node-exporter-4.36.0)

[Compare
Source](https://togithub.com/prometheus-community/helm-charts/compare/prometheus-node-exporter-4.35.0...prometheus-node-exporter-4.36.0)

A Helm chart for prometheus node-exporter

#### What's Changed

- \[prometheus-node-exporter] permit to customize service clusterIP by
[@&#8203;nerzhul](https://togithub.com/nerzhul) in
[prometheus-community/helm-charts#4597

#### New Contributors

- [@&#8203;nerzhul](https://togithub.com/nerzhul) made their first
contribution in
[prometheus-community/helm-charts#4597

**Full Changelog**:
prometheus-community/helm-charts@prometheus-node-exporter-4.35.0...prometheus-node-exporter-4.36.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTkuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM5OS44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9oZWxtIiwidHlwZS9taW5vciJdfQ==-->

Co-authored-by: kireque-bot[bot] <143391978+kireque-bot[bot]@users.noreply.github.com>
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.

None yet

3 participants