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

Remove confusing prometheus configuration options in helm charts #5549

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

Sovietaced
Copy link
Contributor

@Sovietaced Sovietaced commented Jul 9, 2024

What changes were proposed in this pull request?

We ran into an issue where we lost metrics when we configured propeller's prof-port to be different than the default value. There's a couple issues here.

  1. The service monitor is hardcoded to 10254
  2. The prometheus configuration gives the illusion that the prometheus server port is configured independently from the prof-port, but the prometheus server is always mounted on the prof-port.

So this change simplifies the configuration and makes it less fragile in the event the the prof-port changes.

How was this patch tested?

The rendered helm chart values have no diff.

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Docs link

@Sovietaced Sovietaced marked this pull request as ready for review July 9, 2024 22:40
@Sovietaced Sovietaced changed the title Cleanup helm chart options for flytepropeller and prometheus Remove confusing prometheus configuration options or helm charts Jul 9, 2024
Copy link

codecov bot commented Jul 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.98%. Comparing base (81afb76) to head (9a30e58).
Report is 128 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5549   +/-   ##
=======================================
  Coverage   60.98%   60.98%           
=======================================
  Files         796      796           
  Lines       51647    51647           
=======================================
  Hits        31498    31498           
  Misses      17249    17249           
  Partials     2900     2900           
Flag Coverage Δ
unittests-datacatalog 69.31% <ø> (ø)
unittests-flyteadmin 58.73% <ø> (ø)
unittests-flytecopilot 17.79% <ø> (ø)
unittests-flytectl 67.44% <ø> (ø)
unittests-flyteidl 79.06% <ø> (ø)
unittests-flyteplugins 61.85% <ø> (ø)
unittests-flytepropeller 57.42% <ø> (ø)
unittests-flytestdlib 65.68% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Sovietaced Sovietaced changed the title Remove confusing prometheus configuration options or helm charts Remove confusing prometheus configuration options in helm charts Jul 10, 2024
@eapolinario eapolinario merged commit 337088e into flyteorg:master Jul 22, 2024
55 checks passed
vlibov pushed a commit to vlibov/flyte that referenced this pull request Aug 16, 2024
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