https://prefect.io logo
Title
a

Alvaro Durán Tovar

05/09/2022, 8:49 PM
hi! is there a way to get the image running the job in kubernetes? so after a flow is triggered, can I have access to the image name running the container?
k

Kevin Kho

05/09/2022, 8:51 PM
The only way I can see this working is using the GraphQL API to pull it out of the RunConfig registered with the Flow
👍 1
a

Alvaro Durán Tovar

05/09/2022, 8:52 PM
I'm even trying querying kubernetes api it self, not success yet
mmm ok, that might be a way
k

Kevin Kho

05/09/2022, 8:53 PM
I think it would be easy to query the GraphQL API
query {
  flow {
    name
    run_config
  }
}
That run_config will hold it if you registered with it
a

Alvaro Durán Tovar

05/18/2022, 1:19 PM
it worked amazingly well btw 👍
👍 1