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

Flyte core webhook pod settings should be separate #5490

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

ddl-ebrown
Copy link
Contributor

@ddl-ebrown ddl-ebrown commented Jun 20, 2024

Why are the changes needed?

  • Previously, the webhook was sharing some pod level settings in the core chart with flytepropeller like:

    • podAnnotations
    • podEnv
    • podLabels
    • nodeSelector

    Since the webhook runs a separate pod, it should have separate
    settings. This allows for independently adding annotations, like for configuring Prometheus. propeller has a /metrics endpoint, while webhook does not.

NOTE: this isn't backwards compatible, but I also think it's a fairly minor issue that can be covered in docs. I suspect there aren't currently many users here and some of these were not introduced not long ago (as part of #4756)

What changes were proposed in this pull request?

Moves webhook level settings to their own section

How was this patch tested?

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

 - Previously, the webhook was sharing some pod level settings in the
   core chart with flytepropeller like:

   * podAnnotations
   * podEnv
   * podLabels
   * nodeSelector

   Since the webhook runs a separate pod, it should have separate
   settings

 NOTE: no attempt is made to honor carrying over any previous settings
 from flytepropeller values to webhook values, but given these were
 recently introduced / fixed in January as part of
 flyteorg#4756, I think they're not used
 very much

Signed-off-by: ddl-ebrown <[email protected]>
@ddl-ebrown ddl-ebrown force-pushed the separate-chart-webhook-values branch from 6afcb1b to bf7177d Compare June 20, 2024 17:23
Copy link

codecov bot commented Jun 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.01%. Comparing base (16e7780) to head (bf7177d).
Report is 134 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5490   +/-   ##
=======================================
  Coverage   61.01%   61.01%           
=======================================
  Files         793      793           
  Lines       51422    51422           
=======================================
  Hits        31376    31376           
  Misses      17154    17154           
  Partials     2892     2892           
Flag Coverage Δ
unittests-datacatalog 69.31% <ø> (ø)
unittests-flyteadmin 58.76% <ø> (ø)
unittests-flytecopilot 17.79% <ø> (ø)
unittests-flytectl 68.04% <ø> (ø)
unittests-flyteidl 79.04% <ø> (ø)
unittests-flyteplugins 61.83% <ø> (ø)
unittests-flytepropeller 57.30% <ø> (ø)
unittests-flytestdlib 65.82% <ø> (ø)

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.

charts/flyte-core/values.yaml Show resolved Hide resolved
@pingsutw pingsutw merged commit 5ab247f into flyteorg:master Jun 25, 2024
55 checks passed
@ddl-ebrown ddl-ebrown deleted the separate-chart-webhook-values branch June 25, 2024 20:44
robert-ulbrich-mercedes-benz pushed a commit to robert-ulbrich-mercedes-benz/flyte that referenced this pull request Jul 2, 2024
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.

2 participants