Skip to content

Commit

Permalink
Update FlyterPropeller config to working config for flyte agent
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Parraga committed May 21, 2024
1 parent 458da5c commit 31696cf
Showing 1 changed file with 21 additions and 8 deletions.
29 changes: 21 additions & 8 deletions docs/flyte_agents/developing_agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,26 @@ kubectl set image deployment/flyteagent flyteagent=ghcr.io/flyteorg/flyteagent:l
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
plugins:
agent-service:
defaultAgent:
endpoint: dns:///flyteagent.<flyteagent namespace>.svc.cluster.local:8000
supportedTaskTypes:
- sensor
- armada
tasks:
task-plugins:
default-for-task-types:
custom_task: agent-service
container: container
container_array: k8s-array
sensor: agent-service
sidecar: sidecar
enabled-plugins:
- container
- sidecar
- k8s-array
- agent-service
```
3. Restart FlytePropeller:
Expand All @@ -193,7 +206,7 @@ By running agents independently, you can thoroughly test and validate your agent
controlled environment before deploying them to the production cluster.

By default, all agent requests will be sent to the default agent service. However,
you can route particular task requests to designated agent services by adjusting the FlytePropeller configuration.
you can route particular task requests to designated agent services by adjusting the FlytePropeller configuration.

```yaml
plugins:
Expand Down

0 comments on commit 31696cf

Please sign in to comment.