Skip to content

Add IsPodFailed function

Alejo Carballude requested to merge feature/is_pod_failed into master

Related tasks

Context

There are some cases when waiting for pods where the pod reaching a failed state is a valid reason to stop waiting. Currently, there are helper functions to check that pods are in the Running and Completed states, but not for the Failed state.

Change

This MR adds the IsPodFailed helper function to the kubernetes package.

Other information

Additional documentation

Merge request reports