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
add APIs to wait for isvc ready and check status #610
Conversation
/cc @yuzisun Could you please take a look? Thanks a lot! |
/retest |
2 similar comments
/retest |
/retest |
if self.is_isvc_ready(name, namespace=namespace): | ||
return | ||
|
||
if debug: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if this is user facing API not sure if we should print out the controller logs, I suggest printing all the inference service conditions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yuzisun OK, I think we can print the inference service that includes status/conditions and other infomations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove the debug flag and print as Exception message ? If the debug flag is not on then the RuntimeError
still says See above log
not there is no log.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yuzisun Updated, thanks!
@yuzisun Addressed your comments, thanks a lot! |
/retest |
6 similar comments
/retest |
/retest |
/retest |
/retest |
/retest |
/retest |
@jinchihe can you rebase the CI fix ? |
/test kubeflow-kfserving-presubmit |
Why timeout in unit tests
|
/retest |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: yuzisun The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
Got feedback, Need API in KFServing Python SDK Client to quick check the KFServing status and has ability to wait for the inferenceservice ready, and then user can do following things once ready. In fact there is same function in test utils. The PR is going to add below two APIs and update tests.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #609
Special notes for your reviewer:
Release note:
This change is