Let's have a pre-created KSvc hello, in all good ready state.
Then executing wait command doesn't immediately return success ready message.
However, it appears to be waiting in a loop and fails with error at the end of wait timeout.
That's definitely not expected behavior.
➜ client git:(pr/debug-domain-wait) kn service wait hello
Waiting for Service 'hello' in namespace 'default':
Error: timeout: service 'hello' not ready after 600 seconds
Run 'kn --help' for usage
Expected behavior
kn service wait hello
# Return zero return code and success ready message immediately on `ready` state detection
Steps to reproduce the problem
kn service create hello --image docker.io/dsimansk/helloword
Bug report
Let's have a pre-created KSvc
hello
, in all good ready state. Then executing wait command doesn't immediately return success ready message.However, it appears to be waiting in a loop and fails with error at the end of wait timeout. That's definitely not expected behavior.
Expected behavior
Steps to reproduce the problem
kn service create hello --image docker.io/dsimansk/helloword
kn service wait hello
kn version
Knative (serving/eventing) version