diff --git a/docs/flyte_agents/developing_agents.md b/docs/flyte_agents/developing_agents.md index fd310088ef..ea0d082c05 100644 --- a/docs/flyte_agents/developing_agents.md +++ b/docs/flyte_agents/developing_agents.md @@ -159,29 +159,15 @@ For flytekit versions `>v1.10.2`, use `pyflyte serve agent`. ### 4. Deploy Your Flyte agent -1. Update the FlyteAgent deployment's [image](https://github.com/flyteorg/flyte/blob/master/charts/flyteagent/templates/agent/deployment.yaml#L35) +Update the FlyteAgent deployment's [image](https://github.com/flyteorg/flyte/blob/master/charts/flyteagent/templates/agent/deployment.yaml#L35) ```bash kubectl set image deployment/flyteagent flyteagent=ghcr.io/flyteorg/flyteagent:latest ``` -2. Update the FlytePropeller configmap: - -```YAML - tasks: - task-plugins: - enabled-plugins: - - agent-service - default-for-task-types: - - bigquery_query_job_task: agent-service - - custom_task: agent-service -``` - -3. Restart FlytePropeller: - -``` -kubectl rollout restart deployment flytepropeller -n flyte -``` +:::{note} +Please make sure your propeller's image version is >= 1.13.0 so that the propeller can automatically fetch the supported task types from your agent deployment. +::: ### 5. Canary deployment diff --git a/docs/flyte_agents/testing_agents_in_a_local_development_cluster.md b/docs/flyte_agents/testing_agents_in_a_local_development_cluster.md index 940385b2fb..211513f16e 100644 --- a/docs/flyte_agents/testing_agents_in_a_local_development_cluster.md +++ b/docs/flyte_agents/testing_agents_in_a_local_development_cluster.md @@ -41,26 +41,11 @@ flytectl demo start --dev pyflyte serve agent ``` -3. Update the config for the task handled by the agent in the single binary yaml file. +3. (Optional) Update the timeout configuration for each request to the agent deployment in the single binary YAML file: ```bash cd flyte vim ./flyte-single-binary-local.yaml ``` - -```yaml -:emphasize-lines: 9 -tasks: - task-plugins: - enabled-plugins: - - agent-service - - container - - sidecar - - K8S-ARRAY - default-for-task-types: - - sensor: agent-service - - container: container - - container_array: K8S-ARRAY -``` ```yaml plugins: # Registered Task Types