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

test: installing prometheus with flux #12

Merged

Conversation

AntonioDiTuri
Copy link
Contributor

@AntonioDiTuri AntonioDiTuri commented Dec 11, 2023

Manual test to install prometheus via flux

@nikimanoledaki
Copy link
Contributor

Awesome, thank you for initialising Flux! 🥳

Could you delete ./dev/ to only keep ./clusters/ please?

@nikimanoledaki
Copy link
Contributor

This issue completes Prometheus in Phase 1: Base-level cluster components (MVP) of #5

@AntonioDiTuri
Copy link
Contributor Author

AntonioDiTuri commented Dec 13, 2023

Done! Could you please accept it so that we can test the prometheus installation via Flux? Or do you think we are missing something else?

Copy link
Contributor

@nikimanoledaki nikimanoledaki 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 @AntonioDiTuri - LGTM!

@nikimanoledaki
Copy link
Contributor

Could you enable GPG and then rebase so that the signed commits show up as verified, please:

The base branch requires all commits to be signed. Learn more about signing commits.

Copy link
Contributor

@rossf7 rossf7 left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@dipankardas011
Copy link
Contributor

dipankardas011 commented Dec 19, 2023

I found some interesting issues when using kube-prometheus
Here is the messsage #17 (comment)

@dipankardas011
Copy link
Contributor

dipankardas011 commented Dec 19, 2023

Copy link
Contributor

@dipankardas011 dipankardas011 left a comment

Choose a reason for hiding this comment

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

@AntonioDiTuri Can you update the kube-prometheus 😃

rossf7 added a commit to rossf7/green-reviews-tooling that referenced this pull request Jan 6, 2024
Signed-off-by: Dipankar Das <dipankardas0115@gmail.com>

now kepler serviceMonitor is visible to promtheus

Signed-off-by: Dipankar Das <dipankardas0115@gmail.com>

removed the kube-prometheus fluxcd manifest refer pr cncf-tags#12

Signed-off-by: Dipankar Das <dipankardas0115@gmail.com>

refactored the comments in the manifest

Signed-off-by: Dipankar Das <dipankardas0115@gmail.com>
Co-authored-by: Ross Fairbanks <rossf7@users.noreply.github.com>
Co-authored-by: Niki Manoledaki <niki.manoledaki@grafana.com>
rossf7 added a commit to rossf7/green-reviews-tooling that referenced this pull request Jan 9, 2024
Signed-off-by: Dipankar Das <dipankardas0115@gmail.com>

now kepler serviceMonitor is visible to promtheus

Signed-off-by: Dipankar Das <dipankardas0115@gmail.com>

removed the kube-prometheus fluxcd manifest refer pr cncf-tags#12

Signed-off-by: Dipankar Das <dipankardas0115@gmail.com>

refactored the comments in the manifest

Signed-off-by: Dipankar Das <dipankardas0115@gmail.com>
Co-authored-by: Ross Fairbanks <rossf7@users.noreply.github.com>
Co-authored-by: Niki Manoledaki <niki.manoledaki@grafana.com>
@AntonioDiTuri
Copy link
Contributor Author

I will update this Pull Request in the next week, we need also to move from Kustomize to Helm Release

@rossf7
Copy link
Contributor

rossf7 commented Jan 10, 2024

@AntonioDiTuri Can you also change the target namespace for kepler to the monitoring namespace? As then we don't need to patch the prometheus cluster role to scrape other namespaces.

targetNamespace: kepler

@dipankardas011 This is as you had it originally in your kepler PR and keeps things simpler!

@dipankardas011
Copy link
Contributor

@AntonioDiTuri Can you also change the target namespace for kepler to the monitoring namespace? As then we don't need to patch the prometheus cluster role to scrape other namespaces.

targetNamespace: kepler

@dipankardas011 This is as you had it originally in your kepler PR and keeps things simpler!

yup that is one possible solution 👍🏼

@dipankardas011
Copy link
Contributor

yes as we are using kepler like a montiroing tool for our CNCF projects and it fit well in monitoring category

@rossf7
Copy link
Contributor

rossf7 commented Jan 11, 2024

@AntonioDiTuri Sorry can you also make sure the kube-prometheus-stack helmrelease has these values?

By default it only scrapes the service monitors deployed in the helm release.

  values:
    prometheus:
      prometheusSpec:
        serviceMonitorSelectorNilUsesHelmValues: false

@AntonioDiTuri
Copy link
Contributor Author

I uploaded the helm release for prometheus with the needed values, regarding the target namespace for kepler I cannot change it in this PR but we can do it in another branch

@AntonioDiTuri
Copy link
Contributor Author

Helm repo added! Not sure why the merging is blocked, it says all commits need to be signed, and the checks say all commits are signed, I am a bit confused. @nikimanoledaki do you know how to solve this?

@nikimanoledaki
Copy link
Contributor

Signed-off-by: Antonio Di Turi <anto.dituri@gmail.com>
@nikimanoledaki nikimanoledaki merged commit 73d131a into cncf-tags:main Jan 16, 2024
1 check 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.

4 participants