Cancel a PipelineRun in a namespace
tkn pipelinerun cancel
Cancel a PipelineRun in a namespace
Cancel the PipelineRun named 'foo' from namespace 'bar':
tkn pipelinerun cancel foo -n bar
--grace string Gracefully cancel a PipelineRun
To use this, you need to change the feature-flags configmap enable-api-fields to alpha instead of stable.
Set to 'CancelledRunFinally' if you want to cancel the current running task and directly run the finally tasks.
Set to 'StoppedRunFinally' if you want to cancel the remaining non-final task and directly run the finally tasks.
-h, --help help for cancel
-c, --context string name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string kubectl config file (default: $HOME/.kube/config)
-n, --namespace string namespace to use (default: from $KUBECONFIG)
-C, --no-color disable coloring (default: false)
- tkn pipelinerun - Manage PipelineRuns