Skip to content

How does Woodpecker CI deals with pod deletion? #3835

Closed Answered by zc-devs
lara-clink asked this question in Ask a Question
Discussion options

You must be logged in to vote

Is the delete pod operation unreliable?

Define reliable :)

Delete "https://100.64.0.1:443/api/v1/namespaces/woodpecker-pipelines/pods/wp-01hzf6tbz7g17adzarxnhpkd5z": http2: client connection lost

This looks like Agent cannot call Kubernetes API.

issue might be related to an agent restart due

That might happen. I used to have abandoned PVC/PV after Agent crash.

Does this operation require retries to handle transient errors like the one mentioned above?

Would be great, if it is not implemented yet.

should a step in the pipeline workflow fail if the pod fails to be deleted?

This one, I believe.
Edit: ⬆️ by default, however there is on failure condition.


Almost all is there, start …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pat-s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants