How does Woodpecker CI deals with pod deletion? #3835
Replies: 1 comment
-
Define
This looks like Agent cannot call Kubernetes API.
That might happen. I used to have abandoned PVC/PV after Agent crash.
Would be great, if it is not implemented yet.
This one, I believe. Almost all is there, start from kubernetes.go. |
Beta Was this translation helpful? Give feedback.
-
I've been experiencing issues with the delete pod operation in my Woodpecker CI pipelines. Specifically, I've encountered the following error message:
Oh no, we got some errors! Delete "https://100.64.0.1:443/api/v1/namespaces/woodpecker-pipelines/pods/wp-01hzf6tbz7g17adzarxnhpkd5z": http2: client connection lost
It seems this issue might be related to an agent restart due to a memory leak. I have a few questions regarding the reliability of the delete pod operation and the order of operations in the pipeline:
Is the delete pod operation unreliable?
Does this operation require retries to handle transient errors like the one mentioned above?
Is the order of operations unreliable?
For example, should a step in the pipeline fail if the pod fails to be deleted? Or should there be some form of error handling to ensure the pipeline continues running despite pod deletion failures?
I'm looking to understand if there are existing mechanisms within Woodpecker CI to address these issues or if there are recommended practices for enhancing the reliability of these operations.
Thank you for your assistance!
Beta Was this translation helpful? Give feedback.
All reactions