github.com/pachyderm/pachyderm@v1.13.4/doc/docs/1.11.x/how-tos/delete-pipeline.md (about) 1 # Delete a Pipeline 2 3 When you no longer need a pipeline, you can delete it by using the 4 `pachctl delete pipeline` command or in the UI. When 5 you delete a pipeline, Pachyderm destroys the following components: 6 7 * The pipeline Kubernetes pod 8 * The output repository **with all data** 9 10 Only authorized users can delete pipelines. 11 12 When you delete a pipeline, all attributes, such as the output repository 13 and the job history is deleted as well. 14 You can use the `--keep repo` flag that preserves the output repo with 15 all its branches and provenance. Only the information about the pipeline 16 history itself is erased. Later, you can recreate the pipeline by using 17 the `pachctl create pipeline` command. If the input repository by the same 18 name as the pipeline exists, the pipeline will use it 19 keeping all the commit history and provenance. 20 21 When Pachyderm cannot delete a pipeline with the standard command, 22 you might need to enforce deletion by using the `--force` flag. Because this 23 option can break dependant components in your DAG, use this option with 24 extreme caution. 25 26 To delete all pipelines, use the `--all` flag. 27 28 To delete a pipeline, run the following command: 29 30 ```shell 31 pachctl delete pipeline <pipeine_name> 32 ``` 33 34 !!! note "See Also" 35 - [Update a Pipeline](../updating_pipelines/) 36 - [Create a Pipeline](../create-pipeline/)