argoproj / argo-workflows

Workflow Engine for Kubernetes
https://argo-workflows.readthedocs.io/
Apache License 2.0
15.11k stars 3.21k forks source link

feat: support cancellation for workflow #13708

Open chengjoey opened 1 month ago

chengjoey commented 1 month ago

Modifications

  1. add new filed cancelled in wf spec
  2. use wait kill containers when cancelled
  3. add new phase cancelled

Verification

e2e test cancel_test

chengjoey commented 1 month ago

convert to draft until completed Implementation

If someone are implementing the cancellation function,feel free to close my pr

If not, I will create an issue to describe the implementation and documentation of this feature.