Skip to content

Commit

Permalink
change timeout
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 daa45fe commit 1bfbacc
Show file tree
Hide file tree
Showing 12 changed files with 31 additions and 31 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: 5s
GetTask: 10s
defaultTimeout: 10s
supportedTaskTypes:
- default_task
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: 5s
GetTask: 10s
supportedTaskTypes:
- default_task
002-database.yaml: |
Expand Down
6 changes: 3 additions & 3 deletions docs/deployment/agents/airflow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ Specify agent configuration
endpoint: dns:///flyteagent.flyte.svc.cluster.local:8000
insecure: true
timeouts:
CreateTask: 5s
GetTask: 5s
DeleteTask: 5s
CreateTask: 10s
GetTask: 10s
DeleteTask: 10s
Upgrade the Flyte Helm release
Expand Down
6 changes: 3 additions & 3 deletions docs/deployment/agents/bigquery.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ Specify agent configuration
endpoint: dns:///flyteagent.flyte.svc.cluster.local:8000
insecure: true
timeouts:
CreateTask: 5s
GetTask: 5s
DeleteTask: 5s
CreateTask: 10s
GetTask: 10s
DeleteTask: 10s
Ensure that the propeller has the correct service account for BigQuery.

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

Expand Down
6 changes: 3 additions & 3 deletions docs/deployment/agents/sagemaker_inference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ Specify agent configuration
endpoint: dns:///flyteagent.flyte.svc.cluster.local:8000
insecure: true
timeouts:
CreateTask: 5s
GetTask: 5s
DeleteTask: 5s
CreateTask: 10s
GetTask: 10s
DeleteTask: 10s
AWS credentials
---------------
Expand Down
6 changes: 3 additions & 3 deletions docs/deployment/agents/sensor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ Enable the sensor agent by adding the following config to the relevant YAML file
endpoint: dns:///flyteagent.flyte.svc.cluster.local:8000
insecure: true
timeouts:
CreateTask: 5s
GetTask: 5s
DeleteTask: 5s
CreateTask: 10s
GetTask: 10s
DeleteTask: 10s
Upgrade the deployment
Expand Down
6 changes: 3 additions & 3 deletions docs/deployment/agents/snowflake.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ Specify agent configuration
endpoint: dns:///flyteagent.flyte.svc.cluster.local:8000
insecure: true
timeouts:
CreateTask: 5s
GetTask: 5s
DeleteTask: 5s
CreateTask: 10s
GetTask: 10s
DeleteTask: 10s
.. group-tab:: Flyte core

Expand Down
4 changes: 2 additions & 2 deletions docs/flyte_agents/developing_agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,15 +210,15 @@ you can route particular task requests to designated agent services by adjusting
endpoint: "dns:///flyteagent.flyte.svc.cluster.local:8000"
insecure: true
timeouts:
GetTask: 5s
GetTask: 10s
defaultTimeout: 10s
agents:
custom_agent:
endpoint: "dns:///custom-flyteagent.flyte.svc.cluster.local:8000"
insecure: false
defaultServiceConfig: '{"loadBalancingConfig": [{"round_robin":{}}]}'
timeouts:
GetTask: 5s
GetTask: 10s
defaultTimeout: 10s
agentForTaskTypes:
# It will override the default agent for custom_task, which means propeller will send the request to this agent.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ plugins:
endpoint: "localhost:8000" # your grpc agent server port
insecure: true
timeouts:
CreateTask: 5s
GetTask: 5s
DeleteTask: 5s
CreateTask: 10s
GetTask: 10s
DeleteTask: 10s
defaultTimeout: 10s
```
Expand Down

0 comments on commit 1bfbacc

Please sign in to comment.