hey everyone! any recommendation on how to get the...
# flytekit
t
hey everyone! any recommendation on how to get the docker image associated with a flyte run id / workflow version?
y
In flyteconsole navigate to execution page you can see option to
view logs
, Click on it and then check for
task
, Currently in UI it's only available after execution but this is actually a task/workflow spec You can use flytectl for getting any task/workflow spec by version.
Copy code
flytectl get task/workflow --project flytesnacks --domain development <Name of task/workflow>  --version <VERSION> -oyaml
t
Oh using the -o will include the image?
Nice will try that
I tried flytectl but I think I was not looking at the tasks
y
Are you getting any error ?
t
not found the gcr image yet
need to try again!
y
task definition has gcr image for example try this
Copy code
$ flytectl register examples   -p flytesnacks -d development --version v0.2.247
$ flytectl get task --project flytesnacks --domain development core.flyte_basics.task.square  --version v0.2.247 -ojson | jq -c '.closure.compiledTask.template.container.image'
👍 1
cc: @Prafulla Mahindrakar
143 Views