Skip to content

Commit

Permalink
feat(mr): enable model registry inference reconcile (#326)
Browse files Browse the repository at this point in the history
Signed-off-by: Alessio Pragliola <[email protected]>
  • Loading branch information
Al-Pragliola authored Dec 13, 2024
1 parent c4ab582 commit 6136ed3
Show file tree
Hide file tree
Showing 9 changed files with 174 additions and 540 deletions.
4 changes: 2 additions & 2 deletions config/overlays/odh/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ resources:

patches:
- path: odh_model_controller_manager_patch.yaml

configurations:
- params.yaml
- params.yaml
3 changes: 2 additions & 1 deletion config/overlays/odh/odh_model_controller_manager_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ spec:
containers:
- args:
- --leader-elect
image: $(odh-model-controller)
- --model-registry-inference-reconcile
image: $(odh-model-controller)
name: manager
3 changes: 3 additions & 0 deletions controllers/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,12 @@ var (
const (
MLMDAddressEnv = "MLMD_ADDRESS"
ModelRegistryNamespaceLabel = "modelregistry.opendatahub.io/namespace"
ModelRegistryNameLabel = "modelregistry.opendatahub.io/name"
ModelRegistryUrlAnnotation = "modelregistry.opendatahub.io/url"
ModelRegistryInferenceServiceIdLabel = "modelregistry.opendatahub.io/inference-service-id"
ModelRegistryModelVersionIdLabel = "modelregistry.opendatahub.io/model-version-id"
ModelRegistryRegisteredModelIdLabel = "modelregistry.opendatahub.io/registered-model-id"
ModelRegistryFinalizer = "modelregistry.opendatahub.io/finalizer"
)

const (
Expand Down
Loading

0 comments on commit 6136ed3

Please sign in to comment.