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

Enable agent service by default #4993

Merged
merged 8 commits into from
Mar 11, 2024
Merged

Enable agent service by default #4993

merged 8 commits into from
Mar 11, 2024

Conversation

pingsutw
Copy link
Member

@pingsutw pingsutw commented Mar 2, 2024

Tracking issue

#3936

What changes were proposed in this pull request?

Note: This PR only enables the agent-service plugin by default in the helm chart and won't deploy an agent server.
The reason to do that because people won't need to modify the propeller configmap after they install the agent (helm install flyteagent ...), and also give people with more visibility into flyte agent.

How was this patch tested?

Local sandbox

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

NA

Docs link

NA

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. documentation Improvements or additions to documentation enhancement New feature or request labels Mar 2, 2024
@pingsutw pingsutw changed the title Enable agent service Enable agent service by default Mar 2, 2024
Copy link

codecov bot commented Mar 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.00%. Comparing base (a49284e) to head (2149f5a).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4993      +/-   ##
==========================================
+ Coverage   58.98%   59.00%   +0.02%     
==========================================
  Files         645      645              
  Lines       55548    55551       +3     
==========================================
+ Hits        32764    32779      +15     
+ Misses      20193    20181      -12     
  Partials     2591     2591              
Flag Coverage Δ
unittests 59.00% <100.00%> (+0.02%) ⬆️

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.

@pingsutw pingsutw self-assigned this Mar 5, 2024
Signed-off-by: Kevin Su <[email protected]>
Future-Outlier
Future-Outlier previously approved these changes Mar 6, 2024
Copy link
Member

@Future-Outlier Future-Outlier left a comment

Choose a reason for hiding this comment

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

LGTM, thank you

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Mar 6, 2024
EngHabu
EngHabu previously approved these changes Mar 6, 2024
Copy link
Contributor

@EngHabu EngHabu left a comment

Choose a reason for hiding this comment

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

What happens if you try to use an agent that isn't deployed now?

Signed-off-by: Kevin Su <[email protected]>
@pingsutw pingsutw dismissed stale reviews from EngHabu and Future-Outlier via c1d15b3 March 8, 2024 18:04
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Copy link
Member

@Future-Outlier Future-Outlier left a comment

Choose a reason for hiding this comment

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

LGTM, thank you

@Future-Outlier
Copy link
Member

What happens if you try to use an agent that isn't deployed now?

flytepropeller will send error to flyteadmin, and flyteadmin will send error message to flyteconsole.
We will have a watcher to dynamically check avaialbe agent deployments and update to flytepropeller.

@pingsutw pingsutw merged commit 04508c0 into master Mar 11, 2024
51 checks passed
@pingsutw pingsutw deleted the enable-agent-service branch March 11, 2024 20:54
yubofredwang pushed a commit to yubofredwang/flyte that referenced this pull request Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants