- How to pause a pipeline
kubectl patch pl my-pipeline --type=merge --patch '{"spec": {"lifecycle": {"desiredPhase": "Paused"}}}'
which basically update the pipeline template to
spec:
lifecycle:
desiredPhase: Paused
we can change Paused
to Running
if we want to resume it.