Quantcast
Channel: Active questions tagged tekton - Stack Overflow
Viewing all articles
Browse latest Browse all 54

OpenShift pipeline - How to allow only one Pipeline run at a time?

$
0
0

Hi I am new to OpenShift and from what I can see if I go to a Pipeline and select start twice, immediately two PipelineRuns will run in parallel. This will cause a error because both run's pods will try to access the same pvc and then the pods will get stuck in a bad state. The pods will have Event messages, "Volume is already used by pod(s)".

How can someone enforce that only one pipeline run at a time can run? Is it possible in OpenShift to have these pipeline runs queue up wait for existing pipeline to complete? Is there an OpenShift solution? If there are no out of the box solutions in OpenShift, are there standard workarounds or addons that exists?


Viewing all articles
Browse latest Browse all 54

Trending Articles