-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix logic for waitUntilContainerIsReady #95
Conversation
👍 |
ping @iocanel |
@philk @iocanel @carlossg I'm not sure this is entirely fixed. Before, I was also seeing the timeout issues as described in #93 (comment). Now, I've got a situation where I've got some
It's almost as if the watcher logic here never triggers the The timeout does take quite a long time to happen (maybe 60 seconds?) before my retry logic kicks in. |
@JeanMertz: You are right! The watcher implementation does not check the pod reference by the event, but the pod in its previous state (before) the watch! That will never work! Let me fix that! |
@JeanMertz: It should look like this: #97 Do you want to give it a spin? |
Nice catch, we had a |
We were running into the issue the wait is meant to resolve so I tried it out. Looks like the logic got reversed somewhere along the way.