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-windows-exporter] Add chart #3476

Merged
merged 3 commits into from
Jun 20, 2023

Conversation

jkroepke
Copy link
Member

@jkroepke jkroepke commented Jun 8, 2023

What this PR does / why we need it

Add helm chart for windows export.

Tested on a AKS with WS 2022 nodes.

image image

Based on https://github.com/prometheus-community/windows_exporter/blob/master/kubernetes/kubernetes.md

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])

@jkroepke jkroepke requested a review from a team as a code owner June 8, 2023 00:33
@jkroepke jkroepke force-pushed the windows_exporter branch 2 times, most recently from 2fb0462 to 725927e Compare June 8, 2023 00:38
@jkroepke jkroepke force-pushed the windows_exporter branch from 725927e to 8b8c397 Compare June 8, 2023 00:38
charts/prometheus-windows-exporter/Chart.yaml Outdated Show resolved Hide resolved
charts/prometheus-windows-exporter/README.md Outdated Show resolved Hide resolved
Copy link
Member

@monotek monotek left a comment

Choose a reason for hiding this comment

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

How do we actualy test this?
Is the exporter binary not a windows exe file and we would need windows nodes to run it?

@jkroepke
Copy link
Member Author

In theory, yet. We need a Linux node for the control plane (because there are not windows container for the Kubernetes control plane) and a windows nodes for the binary itself. It can be archived through WSL....

I guess the complexity of such an test environment are high that no one could maintain this here.

tbh, we can not test this in GH Actions.

@jkroepke jkroepke requested a review from monotek June 12, 2023 11:57
@jkroepke
Copy link
Member Author

@monotek But we are still testing, if the manifests are valid and does not contain any error. However the DaemonSet will have replica 0 on the GH action pipelines. Theoretically, it chart itself is tested.

@monotek
Copy link
Member

monotek commented Jun 13, 2023

do you've used the chart somewhere else yet?

@jkroepke
Copy link
Member Author

I'm plan to use the helm chart in one of our managed service project.

@lippertmarkus if you have the time, maybe you can also this chart on your infrastructure?

@jkroepke
Copy link
Member Author

@monotek how to move forward here?

@monotek
Copy link
Member

monotek commented Jun 20, 2023

I don't have any windows nodes.

@jkroepke
Copy link
Member Author

Since I'm maintainer of this Chart, I'm at least handle follow-up issues for this helm chart. What about merging this chart for now and handle future bugs separately?

@monotek
Copy link
Member

monotek commented Jun 20, 2023

So you have testet the chart now on your windows nodes?

@jkroepke
Copy link
Member Author

@monotek Yes. The screenshot form first post document that it works.

I setup an AKS cluster in azure with windows nodes on a personal subscription from my company. With AKS, it's a no brainer to setup windows nodes.

@monotek monotek merged commit 83b5387 into prometheus-community:main Jun 20, 2023
@jkroepke jkroepke deleted the windows_exporter branch June 20, 2023 15:17
Matiasmct pushed a commit to giffgaff/prometheus-charts-backup that referenced this pull request Aug 25, 2023
* [prometheus-windows-exporter] Add chart

Signed-off-by: Jan-Otto Kröpke <[email protected]>

* [prometheus-windows-exporter] Apply suggestions

Signed-off-by: Jan-Otto Kröpke <[email protected]>

---------

Signed-off-by: Jan-Otto Kröpke <[email protected]>
Co-authored-by: MH <[email protected]>
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