-
Notifications
You must be signed in to change notification settings - Fork 29
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
On InferenceService deletion, validate no references to it #475
On InferenceService deletion, validate no references to it #475
Conversation
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.
may we contribute this with KServe upstream?
@spolti Yes. This is the reason for doing it here, instead of |
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.
minor comment, otherwise looks good.
InferenceGraphs can reference InferenceServices to create an inference pipeline using multiple models. Deleting an InferenceService that is being referenced by an InferenceGraph can turn unusable the InferenceGraph. This adds a validation to prevent deletion of InferenceServices that are being used in InferenceGraphs. Signed-off-by: Edgar Hernández <[email protected]>
7a7931b
to
5e17418
Compare
/approve |
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: israel-hdez, spolti, VedantMahabaleshwarkar 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 |
5325636
into
opendatahub-io:release-v0.14
@spolti Proposed to upstream: kserve#4235 |
What this PR does / why we need it:
InferenceGraphs can reference InferenceServices to create an inference pipeline using multiple models. Deleting an InferenceService that is being referenced by an InferenceGraph can turn unusable the InferenceGraph.
This adds a validation to prevent deletion of InferenceServices that are being used in InferenceGraphs.
Fixes https://issues.redhat.com/browse/RHOAIENG-17829
Type of changes
Feature/Issue validation/testing:
Checklist: