opendevstack / ods-pipeline

Alternative ODS CI/CD pipeline based on Tekton / OpenShift Pipelines
Apache License 2.0
13 stars 5 forks source link

Consider removing PVC use protection #647

Closed michaelsauter closed 1 year ago

michaelsauter commented 1 year ago

The workspace PVC is use protected right now. This can lead to PVCs stuck in "terminating" state. Maybe it would be better to remove this protection to make it easier to delete a PVC. One "common" use case for deleting the workspace PVC is if it runs out of disk space. In that case, the pipeline run fails, and the PVC will get stuck "terminating" because there are still failed pods that reference the workspace PVC.

For more information, see https://kubernetes.io/docs/concepts/storage/persistent-volumes/#storage-object-in-use-protection.