flytectl get execution¶
Gets execution resources
Synopsis¶
Retrieves all the executions within project and domain.(execution,executions can be used interchangeably in these commands)
bin/flytectl get execution -p flytesnacks -d development
Retrieves execution by name within project and domain.
bin/flytectl get execution -p flytesnacks -d development oeh94k9r2r
Retrieves all the executions with filters.
bin/flytectl get execution -p flytesnacks -d development --filter.field-selector="execution.phase in (FAILED;SUCCEEDED),execution.duration<200"
Retrieves all the execution with limit and sorting.
bin/flytectl get execution -p flytesnacks -d development --filter.sort-by=created_at --filter.limit=1 --filter.asc
Retrieves all the execution within project and domain in yaml format
bin/flytectl get execution -p flytesnacks -d development -o yaml
Retrieves all the execution within project and domain in json format.
bin/flytectl get execution -p flytesnacks -d development -o json
Usage
flytectl get execution [flags]
Options¶
--filter.asc Specifies the sorting order. By default flytectl sort result in descending order
--filter.field-selector string Specifies the Field selector
--filter.limit int32 Specifies the limit (default 100)
--filter.sort-by string Specifies which field to sort result by
-h, --help help for execution
Options inherited from parent commands¶
-c, --config string config file (default is $HOME/.flyte/config.yaml)
-d, --domain string Specifies the Flyte project's domain.
-o, --output string Specifies the output type - supported formats [TABLE JSON YAML DOT DOTURL]. NOTE: dot, doturl are only supported for Workflow (default "TABLE")
-p, --project string Specifies the Flyte project.
SEE ALSO¶
flytectl get - Used for fetching various flyte resources including tasks/workflows/launchplans/executions/project.