Hi - I am looking to use Docker storage, but I have a separate CI/CD workflow for pushing images to my docker registry — Is there any specific configurations I should be passing to denote that?--Or should I just omit the
registry_url
?
k
Kevin Kho
07/01/2021, 3:54 PM
Hey @Leon Kozlowski , I guess you could that so it won’t push, but it doesnt seem ideal as it would still be built. Maybe you can use another storage but pass that container in your RunConfig (with DockerRun) so you don;t have to build?
l
Leon Kozlowski
07/01/2021, 3:56 PM
Should have mentioned, I am looking to use KubernetsRun
k
Kevin Kho
07/01/2021, 3:58 PM
I think what I mention would still apply where storage could be just your Flow and then Prefect would load that and run it on top of the provided Image. What you proposed with removing
registry_url
will work though
l
Leon Kozlowski
07/01/2021, 4:14 PM
I am not sure I’m following
k
Kevin Kho
07/01/2021, 4:19 PM
If for example you used Github Storage, it just stores the Flow. You can use GithubStorage + KubernetesRun with your container specified and Prefect will grab that flow from Github storage and run it on the container specified by KubernetesRun (not 100% sure but positive). I suggest this because DockerStorage will still build every time you register a flow, and it’s a painful experience for some users. Does that clarify?
upvote 1
Kevin Kho
07/01/2021, 4:19 PM
DockerStorage without the
registry_url
will still build the container, but won’t upload it.
l
Leon Kozlowski
07/01/2021, 4:22 PM
I see
Leon Kozlowski
07/01/2021, 4:23 PM
Thanks Kevin !
👍 1
k
Kevin Kho
07/01/2021, 6:58 PM
There is a sample repo here, but I think you have a different setup anyway. Checked with the team and Github Storage + KubernetesRun is preferred because DockerStorage is way more than people need most of the time
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.