fix(pod): respect ContainersReady status in waitForPodReady#245
fix(pod): respect ContainersReady status in waitForPodReady#245FourFriends wants to merge 9 commits intokestra-io:mainfrom
Conversation
… is True, resolve issue#244
|
@fdelbrayelle can you help review this pr, thanks? |
fdelbrayelle
left a comment
There was a problem hiding this comment.
Thank you for your contribution @FourFriends! Could you write a unit test who check this new business rule please 🙏 ? Thanks!
|
I've added unit tests for
Tests use Mockito and don't require a real K8s cluster. Thanks! 🙏 |
|
Hi @FourFriends 👋 |
|
Hey @FourFriends 👋, are there any updates on this? |
|
@Malaydewangan09 I've been quite busy lately, but I will add the integration tests soon. thanks |
|
Hey @FourFriends, are there any updates on this? |
… is True, resolve issue#244
|
Closing in favour of #266 |
|
thanks, too busy last month, thanks again. |
Summary
This PR updates
PodService.waitForPodReadyto make the readiness check more strict.Details
Previously, the method only checked for the presence of a
ContainersReadycondition or aPodCompletedreason, without verifying the condition status. As a result, Pods withContainersReadystatusFalseorUnknowncould be treated as ready.Now,
waitForPodReadyonly considers a Pod as ready when:ContainersReadycondition with statusTrue, orPodCompleted.This makes the Pod readiness handling more accurate and aligned with Kubernetes semantics.
resolve this issue #244