-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Edgar Hernández <23639005+israel-hdez@users.noreply.github.com>
- Loading branch information
1 parent
d6b0ee3
commit c82277f
Showing
45 changed files
with
1,341 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ../default | ||
|
||
namespace: opendatahub | ||
configMapGenerator: | ||
- envs: | ||
- params.env | ||
- params-vllm-rocm.env | ||
- params-vllm-gaudi.env | ||
name: odh-model-controller-parameters | ||
generatorOptions: | ||
disableNameSuffixHash: true | ||
|
||
replacements: | ||
- source: | ||
kind: ConfigMap | ||
version: v1 | ||
name: odh-model-controller-parameters | ||
fieldPath: data.tgis-image | ||
targets: | ||
- select: | ||
kind: Template | ||
name: caikit-tgis-serving-template | ||
fieldPaths: | ||
- objects.0.spec.containers.0.image | ||
- source: | ||
kind: ConfigMap | ||
version: v1 | ||
name: odh-model-controller-parameters | ||
fieldPath: data.caikit-tgis-image | ||
targets: | ||
- select: | ||
kind: Template | ||
name: caikit-tgis-serving-template | ||
fieldPaths: | ||
- objects.0.spec.containers.1.image | ||
- source: | ||
kind: ConfigMap | ||
version: v1 | ||
name: odh-model-controller-parameters | ||
fieldPath: data.caikit-standalone-image | ||
targets: | ||
- select: | ||
kind: Template | ||
name: caikit-standalone-serving-template | ||
fieldPaths: | ||
- objects.0.spec.containers.0.image | ||
- source: | ||
kind: ConfigMap | ||
version: v1 | ||
name: odh-model-controller-parameters | ||
fieldPath: data.tgis-image | ||
targets: | ||
- select: | ||
kind: Template | ||
name: tgis-grpc-serving-template | ||
fieldPaths: | ||
- objects.0.spec.containers.0.image | ||
- source: | ||
kind: ConfigMap | ||
version: v1 | ||
name: odh-model-controller-parameters | ||
fieldPath: data.ovms-image | ||
targets: | ||
- select: | ||
kind: Template | ||
name: kserve-ovms | ||
fieldPaths: | ||
- objects.0.spec.containers.0.image | ||
- select: | ||
kind: Template | ||
name: ovms | ||
fieldPaths: | ||
- objects.0.spec.containers.0.image | ||
- source: | ||
kind: ConfigMap | ||
version: v1 | ||
name: odh-model-controller-parameters | ||
fieldPath: data.vllm-image | ||
targets: | ||
- select: | ||
kind: Template | ||
name: vllm-runtime-template | ||
fieldPaths: | ||
- objects.0.spec.containers.0.image | ||
- select: | ||
kind: Template | ||
name: vllm-multinode-runtime-template | ||
fieldPaths: | ||
- objects.0.spec.containers.0.image | ||
- objects.0.spec.workerSpec.containers.0.image | ||
- source: | ||
kind: ConfigMap | ||
version: v1 | ||
name: odh-model-controller-parameters | ||
fieldPath: data.vllm-rocm-image | ||
targets: | ||
- select: | ||
kind: Template | ||
name: vllm-rocm-runtime-template | ||
fieldPaths: | ||
- objects.0.spec.containers.0.image | ||
- source: | ||
kind: ConfigMap | ||
version: v1 | ||
name: odh-model-controller-parameters | ||
fieldPath: data.vllm-gaudi-image | ||
targets: | ||
- select: | ||
kind: Template | ||
name: vllm-gaudi-runtime-template | ||
fieldPaths: | ||
- objects.0.spec.containers.0.image | ||
- source: | ||
kind: ConfigMap | ||
version: v1 | ||
name: odh-model-controller-parameters | ||
fieldPath: data.odh-model-controller | ||
targets: | ||
- select: | ||
kind: Deployment | ||
name: odh-model-controller | ||
fieldPaths: | ||
- spec.template.spec.containers.0.image | ||
- source: | ||
kind: ConfigMap | ||
version: v1 | ||
name: odh-model-controller-parameters | ||
fieldPath: metadata.namespace | ||
targets: | ||
- select: | ||
kind: ValidatingWebhookConfiguration | ||
name: validating-webhook-configuration | ||
fieldPaths: | ||
- webhooks.0.clientConfig.service.namespace | ||
|
||
patches: | ||
- path: remove-namespace.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: odh-model-controller | ||
spec: | ||
template: | ||
spec: | ||
containers: | ||
- args: | ||
- --leader-elect | ||
image: $(odh-model-controller) | ||
name: manager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
vllm-gaudi-image=quay.io/opendatahub/vllm:fast-gaudi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
vllm-rocm-image=quay.io/opendatahub/vllm:fast-rocm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
odh-model-controller=quay.io/opendatahub/odh-model-controller:fast | ||
caikit-tgis-image=quay.io/opendatahub/caikit-tgis-serving:fast | ||
caikit-standalone-image=quay.io/opendatahub/caikit-nlp:fast | ||
tgis-image=quay.io/opendatahub/text-generation-inference:fast | ||
ovms-image=quay.io/opendatahub/openvino_model_server:2024.3-release | ||
vllm-image=quay.io/opendatahub/vllm:fast | ||
nim-state=removed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Remove namespace resource as namespace will already exist. | ||
$patch: delete | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# This patch adds the args to allow exposing the metrics endpoint using HTTPS | ||
# TODO: restore to 8443 port | ||
- op: add | ||
path: /spec/template/spec/containers/0/args/0 | ||
value: --metrics-bind-address=:8443 | ||
value: --metrics-bind-address=:8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
resources: | ||
- allow-webhook-traffic.yaml | ||
- allow-metrics-traffic.yaml | ||
#- allow-metrics-traffic.yaml |
Oops, something went wrong.