-
Notifications
You must be signed in to change notification settings - Fork 672
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
[flytepropeller] Watch agent metadata service dynamically #5460
Conversation
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Future-Outlier <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5460 +/- ##
==========================================
- Coverage 60.99% 60.97% -0.02%
==========================================
Files 794 794
Lines 51475 51488 +13
==========================================
- Hits 31398 31397 -1
- Misses 17185 17199 +14
Partials 2892 2892
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Future-Outlier <[email protected]>
@honnix sorry for the late reply and thank you for your patient. Thank you so much! |
Thank you for working on the watcher feature! Could you please write some description to help me understand what this achieves? Thank you. |
…efaultPlugins private Signed-off-by: Future-Outlier <[email protected]>
No problem, I will do it, thank you! |
Signed-off-by: Future-Outlier <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Future-Outlier <[email protected]>
Signed-off-by: Future-Outlier <[email protected]>
Hi, @honnix, can you take a look at this PR? |
Signed-off-by: Future-Outlier <[email protected]>
@Future-Outlier I didn't look into details of the change, but overall it's a great feature to be able to refresh agent capability at runtime without restarting propeller. |
Hello, @EngHabu. |
Hi, @honnix
|
Signed-off-by: Future-Outlier <[email protected]>
Signed-off-by: Future-Outlier <[email protected]>
Sorry for replying late. I was on vacation. I unfortunately don't have capacity to take on this. I can ask around in the team. |
No problem, I will be on vacation too! |
) Signed-off-by: Kevin Su <[email protected]> Signed-off-by: Kevin Su <[email protected]> Signed-off-by: Future-Outlier <[email protected]> Co-authored-by: Kevin Su <[email protected]> Co-authored-by: Kevin Su <[email protected]>
) Signed-off-by: Kevin Su <[email protected]> Signed-off-by: Kevin Su <[email protected]> Signed-off-by: Future-Outlier <[email protected]> Co-authored-by: Kevin Su <[email protected]> Co-authored-by: Kevin Su <[email protected]> Signed-off-by: Vladyslav Libov <[email protected]>
Tracking issue
#3936
Why are the changes needed?
Users don't need to configure
supportedTaskTypes
for agent service after this PR merged.We will connect to the agent server (or agent pod) to retrieve agent metadata every 10 seconds.
The config map for
agent-service
will be like:Architecture Diagram
For example, the lifecycle in the propeller with agent will be like below
watchAgent
function inwebapi/agent/plugin.go
localhost:8000
andlocalhost:8001
agentRegistry
// map[taskTypeName][taskTypeVersion] => AgentagentService
*core.AgentService// Propeller will use it to route to the correct plugin. In our case, it’s agent-service.
p.cfg.PollInterval.Duration
, and go back to 1What changes were proposed in this pull request?
TBD
How was this patch tested?
single binary
Setup process
Screenshots
Check all the applicable boxes
Related PRs
#3936
Docs link