Skip to content

Commit

Permalink
add agent-service endpoint settings for flyte-core deployment
Browse files Browse the repository at this point in the history
Signed-off-by: Future-Outlier <[email protected]>
  • Loading branch information
Future-Outlier committed Apr 10, 2024
1 parent 6a39af7 commit daa45fe
Show file tree
Hide file tree
Showing 12 changed files with 70 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/flyte-binary/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ configuration:
endpoint: "dns:///flyteagent.flyte.svc.cluster.local:8000"
insecure: true
timeouts:
GetTask: 10s
GetTask: 5s
defaultTimeout: 10s
supportedTaskTypes:
- default_task
Expand Down
2 changes: 1 addition & 1 deletion charts/flyte/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ flyte:
container: container
sidecar: sidecar
container_array: k8s-array
bigquery_query_job_task: agent-service
sensor: agent-service


# -- Kubernetes specific Flyte configuration
Expand Down
2 changes: 1 addition & 1 deletion docker/sandbox-bundled/manifests/complete-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ data:
endpoint: dns:///flyteagent.flyte.svc.cluster.local:8000
insecure: true
timeouts:
GetTask: 10s
GetTask: 5s
supportedTaskTypes:
- default_task
002-database.yaml: |
Expand Down
8 changes: 8 additions & 0 deletions docs/deployment/agents/airflow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ Specify agent configuration
agent-service:
supportedTaskTypes:
- airflow
defaultAgent:
defaultTimeout: 10s
endpoint: dns:///flyteagent.flyte.svc.cluster.local:8000
insecure: true
timeouts:
CreateTask: 5s
GetTask: 5s
DeleteTask: 5s
Upgrade the Flyte Helm release
Expand Down
8 changes: 8 additions & 0 deletions docs/deployment/agents/bigquery.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@ Specify agent configuration
agent-service:
supportedTaskTypes:
- bigquery_query_job_task
defaultAgent:
defaultTimeout: 10s
endpoint: dns:///flyteagent.flyte.svc.cluster.local:8000
insecure: true
timeouts:
CreateTask: 5s
GetTask: 5s
DeleteTask: 5s
Ensure that the propeller has the correct service account for BigQuery.

Expand Down
8 changes: 8 additions & 0 deletions docs/deployment/agents/chatgpt.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,14 @@ Specify agent configuration
agent-service:
supportedTaskTypes:
- chatgpt
defaultAgent:
defaultTimeout: 10s
endpoint: dns:///flyteagent.flyte.svc.cluster.local:8000
insecure: true
timeouts:
CreateTask: 5s
GetTask: 5s
DeleteTask: 5s
Add the OpenAI API token
-------------------------------
Expand Down
8 changes: 8 additions & 0 deletions docs/deployment/agents/databricks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,14 @@ Specify agent configuration
agent-service:
supportedTaskTypes:
- spark
defaultAgent:
defaultTimeout: 10s
endpoint: dns:///flyteagent.flyte.svc.cluster.local:8000
insecure: true
timeouts:
CreateTask: 5s
GetTask: 5s
DeleteTask: 5s
Add the Databricks access token
-------------------------------
Expand Down
8 changes: 8 additions & 0 deletions docs/deployment/agents/mmcloud.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@ Enable the MMCloud agent by adding the following config to the relevant YAML fil
- mmcloud_task
agentForTaskTypes:
- mmcloud_task: mmcloud-agent
defaultAgent:
defaultTimeout: 10s
endpoint: dns:///flyteagent.flyte.svc.cluster.local:8000
insecure: true
timeouts:
CreateTask: 5s
GetTask: 5s
DeleteTask: 5s
Substitute ``<AGENT_ENDPOINT>`` with the endpoint of your MMCloud agent.

Expand Down
8 changes: 8 additions & 0 deletions docs/deployment/agents/sagemaker_inference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,14 @@ Specify agent configuration
supportedTaskTypes:
- boto
- sagemaker-endpoint
defaultAgent:
defaultTimeout: 10s
endpoint: dns:///flyteagent.flyte.svc.cluster.local:8000
insecure: true
timeouts:
CreateTask: 5s
GetTask: 5s
DeleteTask: 5s
AWS credentials
---------------
Expand Down
8 changes: 8 additions & 0 deletions docs/deployment/agents/sensor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,14 @@ Enable the sensor agent by adding the following config to the relevant YAML file
agent-service:
supportedTaskTypes:
- sensor
defaultAgent:
defaultTimeout: 10s
endpoint: dns:///flyteagent.flyte.svc.cluster.local:8000
insecure: true
timeouts:
CreateTask: 5s
GetTask: 5s
DeleteTask: 5s
Upgrade the deployment
Expand Down
8 changes: 8 additions & 0 deletions docs/deployment/agents/snowflake.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ Specify agent configuration
agent-service:
supportedTaskTypes:
- snowflake
defaultAgent:
defaultTimeout: 10s
endpoint: dns:///flyteagent.flyte.svc.cluster.local:8000
insecure: true
timeouts:
CreateTask: 5s
GetTask: 5s
DeleteTask: 5s
.. group-tab:: Flyte core

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ plugins:
endpoint: "localhost:8000" # your grpc agent server port
insecure: true
timeouts:
GetTask: 10s
CreateTask: 5s
GetTask: 5s
DeleteTask: 5s
defaultTimeout: 10s
```
Expand Down

0 comments on commit daa45fe

Please sign in to comment.