Skip to content
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(isvc): post testing #603

Conversation

Al-Pragliola
Copy link
Contributor

@Al-Pragliola Al-Pragliola commented Dec 2, 2024

Description

  • moved "url" from label to annotation because of character limits in labels and from a logical point of view it doesn't seem to be a useful field for filtering ref
  • introduced "skip-tls-verify" annotation, giving users the option to skip tls verification when using test/dev clusters
  • now the controller skips inferenceservices that are missing either the model registry name label or the url annotation

How Has This Been Tested?

tested on a local cluter and with make test

Merge criteria:

  • All the commits have been signed-off (To pass the DCO check)
  • The commits have meaningful messages; the author will squash them after approval or in case of manual merges will ask to merge with squash.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work.
  • Code changes follow the kubeflow contribution guidelines.

Signed-off-by: Alessio Pragliola <[email protected]>
@Al-Pragliola Al-Pragliola force-pushed the al-pragliola-fix-inferenceservice-controller branch from 8e2d2f1 to 3d8c419 Compare December 2, 2024 18:01
@Al-Pragliola Al-Pragliola marked this pull request as ready for review December 2, 2024 18:41
@google-oss-prow google-oss-prow bot requested review from rareddy and Tomcli December 2, 2024 18:41
Copy link
Member

@tarilabs tarilabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you @Al-Pragliola !

small comment for quick check, otherwise

/lgtm

@@ -41,7 +41,8 @@ const (
modelVersionIDLabel = "modelregistry.kubeflow.org/model-version-id"
namespaceLabel = "modelregistry.kubeflow.org/namespace"
nameLabel = "modelregistry.kubeflow.org/name"
urlLabel = "modelregistry.kubeflow.org/url"
skipTLSVerifyAnnotation = "modelregistry.kubeflow.org/skip-tls-verify"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

open question: this seems a cross-cutting concern of the environment, wouldn't make more sense to make it configurable at the test level/controller level, rather than per-k8s-resource?

I'm wondering if this doesn't open some concern in "prod" as it would allow to define a per-Isvc insecure connection (truly, it's opt-in, but I thought worthy in raising this)

wdyt?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah you are right, seems like the wrong place to set this field

Copy link
Member

@tarilabs tarilabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks more intentional to me, thanks a lot for incorporating the feedback and it's always easy to reconsider this choice eventually if needed

/lgtm
/approve

@google-oss-prow google-oss-prow bot added the lgtm label Dec 3, 2024
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tarilabs

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow bot merged commit 3eb4e9c into kubeflow:main Dec 3, 2024
16 checks passed
@Al-Pragliola Al-Pragliola deleted the al-pragliola-fix-inferenceservice-controller branch December 3, 2024 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants