Skip to content

create volumes mid workflow #12797

Closed Answered by Joibel
StefanOid asked this question in Q&A
Discussion options

You must be logged in to vote

You can only manage volumes which live for the lifetime of a workflow using argo workflows. This shows how to do that. https://argo-workflows.readthedocs.io/en/latest/walk-through/volumes/

If you'd like to use externally created volumes, this is also doable. You could manually create and delete volumes using resources, but then you're responsible for getting the lifetime correct https://argo-workflows.readthedocs.io/en/stable/workflow-concepts/#resource. You can use an exit handler to ensure the volume is deleted in this case.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by agilgur5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
type/support User support issue - likely not a bug
2 participants