Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 311 Bytes

NumaflowTricks.md

File metadata and controls

15 lines (11 loc) · 311 Bytes
  1. 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.