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

helm: add service monitor scrape interval config #1638

Conversation

Jack-R-lantern
Copy link
Contributor

This commit was related to the service monitor scrape interval option.
I made a change to allow options to be injected via the values.yaml file.

fix: #1633

@Jack-R-lantern Jack-R-lantern requested a review from a team as a code owner October 23, 2023 13:43
@Jack-R-lantern Jack-R-lantern force-pushed the ISSUE-1633/Make-service-monitor-scrape-interval-configurable-in-helm-chart branch from f710f8f to 560bf15 Compare October 23, 2023 13:46
@netlify
Copy link

netlify bot commented Oct 23, 2023

Deploy Preview for tetragon ready!

Name Link
🔨 Latest commit d23547a
🔍 Latest deploy log https://app.netlify.com/sites/tetragon/deploys/6537a48b9efb8200088a2b09
😎 Deploy Preview https://deploy-preview-1638--tetragon.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Jack-R-lantern Jack-R-lantern force-pushed the ISSUE-1633/Make-service-monitor-scrape-interval-configurable-in-helm-chart branch from 560bf15 to 52f1607 Compare October 23, 2023 13:48
Copy link
Contributor

@lambdanis lambdanis 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 for the PR @Jack-R-lantern

I would simplify the Helm values to have:

serviceMonitor:
  scrapeInterval: "10s"

It's pretty to common to configure ServiceMonitors like that, and I find the endpoints section in Tetragon Helm values a bit confusing.

@Jack-R-lantern
Copy link
Contributor Author

@lambdanis Thanks Review, I will change it

@Jack-R-lantern Jack-R-lantern force-pushed the ISSUE-1633/Make-service-monitor-scrape-interval-configurable-in-helm-chart branch from 52f1607 to 07a868a Compare October 23, 2023 14:14
@lambdanis lambdanis added release-note/minor This PR introduces a minor user-visible change area/helm Related to the Helm chart labels Oct 23, 2023
Copy link
Contributor

@lambdanis lambdanis left a comment

Choose a reason for hiding this comment

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

One docs nit, but looks good otherwise, thank you. The CI failures look unrelated.

install/kubernetes/values.yaml Outdated Show resolved Hide resolved
@Jack-R-lantern Jack-R-lantern force-pushed the ISSUE-1633/Make-service-monitor-scrape-interval-configurable-in-helm-chart branch from 07a868a to cdb2611 Compare October 24, 2023 03:48
Copy link
Contributor

@lambdanis lambdanis left a comment

Choose a reason for hiding this comment

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

@Jack-R-lantern It seems a dot in the doc slipped over ;)

I'll take a look at CI, not sure what's wrong there.

install/kubernetes/values.yaml Outdated Show resolved Hide resolved
@lambdanis
Copy link
Contributor

The CI failures seem to be a CI bug: #1646

this commit was related to the service monitor scrape interval option

Signed-off-by: Jack-R-lantern <[email protected]>
@Jack-R-lantern Jack-R-lantern force-pushed the ISSUE-1633/Make-service-monitor-scrape-interval-configurable-in-helm-chart branch from cdb2611 to d23547a Compare October 24, 2023 11:03
@lambdanis lambdanis merged commit 9621b7f into cilium:main Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/helm Related to the Helm chart release-note/minor This PR introduces a minor user-visible change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

make service monitor scrape interval configurable in helm chart
2 participants