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] Add externalTrafficPolicy to prometheus node exporter service spec #4512

Merged
merged 4 commits into from
May 5, 2024

Conversation

junchil
Copy link
Contributor

@junchil junchil commented May 2, 2024

What this PR does / why we need it

Add externalTrafficPolicy config option to node exporter service.

When the service type set to nodeport, we can have this externalTrafficPolicy config set to local so service only forward request to the local node exporter pod.

@gianrubio @zanhsieh @zeritti

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

  • fixes #

Special notes for your reviewer

Checklist

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

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, @junchil, for your PR. Please, see my comments below.

charts/prometheus-node-exporter/values.yaml Outdated Show resolved Hide resolved
@junchil
Copy link
Contributor Author

junchil commented May 5, 2024

Hi @zeritti thank you for your review. pls review it again, thanks!

@junchil junchil requested a review from zeritti May 5, 2024 10:26
junchil and others added 4 commits May 5, 2024 20:27
Signed-off-by: Steve Liu <ljc1993917@gmail.com>
Co-authored-by: zeritti <47476160+zeritti@users.noreply.github.com>
Signed-off-by: Steve Liu <ljc1993917@gmail.com>
Co-authored-by: zeritti <47476160+zeritti@users.noreply.github.com>
Signed-off-by: Steve Liu <ljc1993917@gmail.com>
Co-authored-by: zeritti <47476160+zeritti@users.noreply.github.com>
Signed-off-by: Steve Liu <ljc1993917@gmail.com>
@junchil
Copy link
Contributor Author

junchil commented May 5, 2024

Hi @zeritti how can I merge this pr?

@zeritti zeritti merged commit 7d50bd5 into prometheus-community:main May 5, 2024
4 checks passed
kireque pushed a commit to kireque/home-ops that referenced this pull request May 6, 2024
…#527)

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.33.0` -> `4.34.0` |

---

### Release Notes

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

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

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

A Helm chart for prometheus node-exporter

#### What's Changed

- \[prometheus-node-exporter] Add externalTrafficPolicy to prometheus
node exporter service spec by
[@&#8203;junchil](https://togithub.com/junchil) in
[prometheus-community/helm-charts#4512

#### New Contributors

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

**Full Changelog**:
prometheus-community/helm-charts@kube-prometheus-stack-58.4.0...prometheus-node-exporter-4.34.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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNDIuMSIsInVwZGF0ZWRJblZlciI6IjM3LjM0Mi4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9oZWxtIiwidHlwZS9taW5vciJdfQ==-->

Co-authored-by: kireque-bot[bot] <143391978+kireque-bot[bot]@users.noreply.github.com>
wilfriedroset pushed a commit to wilfriedroset/helm-charts that referenced this pull request May 8, 2024
…de exporter service spec (prometheus-community#4512)

* add externalTrafficPolicy to prometheus node exporter service spec

Signed-off-by: Steve Liu <ljc1993917@gmail.com>

* Update charts/prometheus-node-exporter/templates/service.yaml

Co-authored-by: zeritti <47476160+zeritti@users.noreply.github.com>
Signed-off-by: Steve Liu <ljc1993917@gmail.com>

* Update charts/prometheus-node-exporter/values.yaml

Co-authored-by: zeritti <47476160+zeritti@users.noreply.github.com>
Signed-off-by: Steve Liu <ljc1993917@gmail.com>

* Update charts/prometheus-node-exporter/Chart.yaml

Co-authored-by: zeritti <47476160+zeritti@users.noreply.github.com>
Signed-off-by: Steve Liu <ljc1993917@gmail.com>

---------

Signed-off-by: Steve Liu <ljc1993917@gmail.com>
Co-authored-by: zeritti <47476160+zeritti@users.noreply.github.com>
lambchop4prez added a commit to lambchop4prez/network that referenced this pull request May 26, 2024
…116)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

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.33.0` -> `4.34.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

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

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

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

A Helm chart for prometheus node-exporter

#### What's Changed

- \[prometheus-node-exporter] Add externalTrafficPolicy to prometheus
node exporter service spec by
[@&#8203;junchil](https://togithub.com/junchil) in
[prometheus-community/helm-charts#4512

#### New Contributors

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

**Full Changelog**:
prometheus-community/helm-charts@kube-prometheus-stack-58.4.0...prometheus-node-exporter-4.34.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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/lambchop4prez/network).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNDAuMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNDAuMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
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

2 participants