Sometimes, it is useful to do something in kubernetes (eg: apply) and then wait for those resources to be ready before continuing. We have done this in past sometimes by locally implementing a watcher loop around some lightkube code.
It would be nice if this option was available, perhaps as an option to KRH.apply(... block_until_ready=True) and similar commands? If we implement this, we could do something like apply the resources as normal and then loop around them waiting until they all show a ready status.
Sometimes, it is useful to do something in kubernetes (eg:
apply
) and then wait for those resources to be ready before continuing. We have done this in past sometimes by locally implementing a watcher loop around some lightkube code.It would be nice if this option was available, perhaps as an option to
KRH.apply(... block_until_ready=True)
and similar commands? If we implement this, we could do something like apply the resources as normal and then loop around them waiting until they all show a ready status.