high-accountant-32689
07/27/2022, 6:35 PMflytectl update task-resource-attribute
and the task resource defaults defined in the helm chart values file.
Just so we can dive deeper on this, can you tell us a bit about what you tried? We're probably missing some documentation around this area.high-accountant-32689
07/27/2022, 6:35 PMnice-zebra-99977
07/27/2022, 7:18 PMnice-zebra-99977
07/27/2022, 7:18 PMshy-holiday-15500
07/27/2022, 8:45 PMshy-holiday-15500
07/27/2022, 8:45 PMshy-holiday-15500
07/27/2022, 8:46 PMshy-holiday-15500
07/27/2022, 8:46 PMshy-holiday-15500
07/27/2022, 8:46 PMshy-holiday-15500
07/27/2022, 8:46 PMshy-holiday-15500
07/27/2022, 8:47 PMshy-holiday-15500
07/27/2022, 8:47 PMshy-holiday-15500
07/27/2022, 8:47 PMshy-holiday-15500
07/27/2022, 8:49 PMicy-agent-73298
07/28/2022, 5:36 AMflytectl get task -p <project> -d <domain> <name-of-task> -o yaml
which would dump the closure along with memory requests and limits configured for it.
- closure:
compiledTask:
template:
container:
args:
- pyflyte-execute
- --inputs
- '{{.input}}'
- --output-prefix
- '{{.outputPrefix}}'
- --raw-output-data-prefix
- '{{.rawOutputDataPrefix}}'
- --checkpoint-path
- '{{.checkpointOutputPrefix}}'
- --prev-checkpoint
- '{{.prevCheckpointPrefix}}'
- --resolver
- flytekit.core.python_auto_container.default_task_resolver
- --
- task-module
- workflows.example_10_flyte_decks
- task-name
- get_data_annotated
image: <http://ghcr.io/flyteorg/flyte-conference-talks:scipy-2022-v1|ghcr.io/flyteorg/flyte-conference-talks:scipy-2022-v1>
resources:
limits:
- name: MEMORY
value: 1Gi
requests:
- name: MEMORY
value: 1Gi
id:
domain: development
name: workflows.example_10_flyte_decks.get_data_annotated
project: flytesnacks
resourceType: TASK
version: v1
interface:
Using update task-resource-attribute
allows you set the configuration for all tasks/workflows running in the project/domain
Also it allows you to set this workflow level https://docs.flyte.org/projects/flytectl/en/latest/gen/flytectl_update_task-resource-attribute.htmlshy-holiday-15500
07/28/2022, 2:18 PMshy-holiday-15500
07/28/2022, 2:19 PM