-
Notifications
You must be signed in to change notification settings - Fork 665
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
New agents guide and deployment config docs updates #4822
Conversation
Signed-off-by: nikki everett <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4822 +/- ##
==========================================
- Coverage 58.97% 58.93% -0.04%
==========================================
Files 644 645 +1
Lines 55146 55380 +234
==========================================
+ Hits 32521 32638 +117
- Misses 20050 20159 +109
- Partials 2575 2583 +8
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: nikki everett <[email protected]>
Signed-off-by: nikki everett <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: nikki everett <[email protected]>
Not sure why the DCO check is failing, since all commits appear to be signed off. |
Signed-off-by: nikki everett <[email protected]>
Signed-off-by: nikki everett <[email protected]>
Signed-off-by: nikki everett <[email protected]>
Signed-off-by: nikki everett <[email protected]>
Signed-off-by: nikki everett <[email protected]>
|
||
If you need to connect to an external service in your workflow, we recommend using the corresponding agent rather than a web API plugin. Agents are designed to be scalable and can handle large workloads efficiently, and decrease load on FlytePropeller, since they run outside of it. You can also test agents locally without having to change the Flyte backend configuration, streamlining development. | ||
|
||
For a list of agents you can use in your tasks, see the [Agent Setup](https://docs.flyte.org/en/latest/deployment/agents/index.html) documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here it would be better to link to the Integrations section of the docs, specifically the External Service Backend Plugins section, but that section contains plugins that don't have a corresponding agent (e.g. AWS Athena). Should I add a new "Agents" section to that Integrations page?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good
|
||
To create a new async agent, extend the `AgentBase` class in the `flytekit.backend` module and implement the `execute` methods. All calls must be idempotent. | ||
|
||
- `execute`: TK |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flagging this for more detail from eng.
Signed-off-by: nikki everett <[email protected]>
Signed-off-by: nikki everett <[email protected]>
* Add sync agent example Signed-off-by: Kevin Su <[email protected]> * nit Signed-off-by: Kevin Su <[email protected]> --------- Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: nikki everett <[email protected]>
Signed-off-by: nikki everett <[email protected]>
Signed-off-by: nikki everett <[email protected]>
Signed-off-by: nikki everett <[email protected]>
Signed-off-by: nikki everett <[email protected]>
Signed-off-by: nikki everett <[email protected]>
Signed-off-by: nikki everett <[email protected]>
Signed-off-by: nikki everett <[email protected]>
Signed-off-by: nikki everett <[email protected]>
Signed-off-by: nikki everett <[email protected]>
Signed-off-by: nikki everett <[email protected]>
* small update to start PR Signed-off-by: nikki everett <[email protected]> * add airflow and snowflake agent pages and update existing agents docs Signed-off-by: nikki everett <[email protected]> * small updates Signed-off-by: nikki everett <[email protected]> * [Doc] Airflow agent deployment (flyteorg#4831) Signed-off-by: Kevin Su <[email protected]> * [Doc] Snowflake agent deployment (flyteorg#4832) Signed-off-by: Kevin Su <[email protected]> * copyedits Signed-off-by: nikki everett <[email protected]> * move agents guide to flyte Signed-off-by: nikki everett <[email protected]> * rename directory and add guide to toctree Signed-off-by: nikki everett <[email protected]> * stub out async vs sync agents content Signed-off-by: nikki everett <[email protected]> * link to list of agents Signed-off-by: nikki everett <[email protected]> * edits for sync vs async agents Signed-off-by: nikki everett <[email protected]> * add visible TOC table to index page Signed-off-by: nikki everett <[email protected]> * update for async vs sync tasks Signed-off-by: nikki everett <[email protected]> * Update async agent example (flyteorg#4906) * Add sync agent example Signed-off-by: Kevin Su <[email protected]> * nit Signed-off-by: Kevin Su <[email protected]> --------- Signed-off-by: Kevin Su <[email protected]> * formatting and copy updates Signed-off-by: nikki everett <[email protected]> * fix formatting in snowflake doc, small fixes in agents procedural docs Signed-off-by: nikki everett <[email protected]> * fix toctree Signed-off-by: nikki everett <[email protected]> * add link Signed-off-by: nikki everett <[email protected]> * fix links Signed-off-by: nikki everett <[email protected]> * update link Signed-off-by: nikki everett <[email protected]> * import blog content Signed-off-by: nikki everett <[email protected]> * rename agent creation doc, small content updates Signed-off-by: nikki everett <[email protected]> * fix article title Signed-off-by: nikki everett <[email protected]> * fix link Signed-off-by: nikki everett <[email protected]> * undo unnecessary formatting change in unrelated file Signed-off-by: nikki everett <[email protected]> --------- Signed-off-by: nikki everett <[email protected]> Signed-off-by: Kevin Su <[email protected]> Co-authored-by: Kevin Su <[email protected]>
Why are the changes needed?
To prepare for Flyte agents GA.
What changes were proposed in this pull request?
Note: Links to new agents integrations docs are broken, since those docs are in a flytesnacks branch (see flyteorg/flytesnacks#1498).
Check all the applicable boxes
Related PRs
flyteorg/flytesnacks#1498