forked from opendatahub-io/odh-manifests
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #387 from Jooho/rhods_master_new_mm
[UPSTREAM] Replace old model-mesh manifests to new manifests opendatahub-io#815
- Loading branch information
Showing
134 changed files
with
1,319 additions
and
405 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
apiVersion: kfdef.apps.kubeflow.org/v1 | ||
kind: KfDef | ||
metadata: | ||
name: odh-core | ||
spec: | ||
applications: | ||
- kustomizeConfig: | ||
repoRef: | ||
name: manifests | ||
path: odh-common | ||
name: odh-common | ||
- kustomizeConfig: | ||
repoRef: | ||
name: manifests | ||
path: odh-dashboard | ||
name: odh-dashboard | ||
- kustomizeConfig: | ||
repoRef: | ||
name: manifests | ||
path: prometheus/cluster | ||
name: prometheus-cluster | ||
- kustomizeConfig: | ||
repoRef: | ||
name: manifests | ||
path: prometheus/operator | ||
name: prometheus-operator | ||
- kustomizeConfig: | ||
repoRef: | ||
name: manifests | ||
path: grafana/cluster | ||
name: grafana-cluster | ||
- kustomizeConfig: | ||
repoRef: | ||
name: manifests | ||
path: grafana/grafana | ||
name: grafana-instance | ||
- kustomizeConfig: | ||
repoRef: | ||
name: manifests | ||
path: odh-notebook-controller | ||
name: odh-notebook-controller | ||
- kustomizeConfig: | ||
repoRef: | ||
name: manifests | ||
path: notebook-images | ||
name: notebook-images | ||
- kustomizeConfig: | ||
parameters: | ||
- name: monitoring-namespace | ||
value: opendatahub | ||
repoRef: | ||
name: manifests | ||
path: model-mesh | ||
name: model-mesh | ||
- kustomizeConfig: | ||
parameters: | ||
- name: deployment-namespace | ||
value: opendatahub | ||
repoRef: | ||
name: manifests | ||
path: modelmesh-monitoring | ||
name: modelmesh-monitoring | ||
- kustomizeConfig: | ||
repoRef: | ||
name: manifests | ||
path: data-science-pipelines-operator/ | ||
name: data-science-pipelines-operator | ||
repos: | ||
- name: manifests | ||
uri: https://github.com/opendatahub-io/odh-manifests/tarball/master | ||
version: master |
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,10 +1,17 @@ | ||
approvers: | ||
- anishasthana | ||
- Jooho | ||
- anishasthana | ||
- danielezonca | ||
- heyselbi | ||
- israel-hdez | ||
- Jooho | ||
- VedantMahabaleshwarkar | ||
- Xaenalt | ||
|
||
reviewers: | ||
- anishasthana | ||
- danielezonca | ||
- heyselbi | ||
- israel-hdez | ||
- Jooho | ||
- Xaenalt | ||
- VedantMahabaleshwarkar | ||
- Xaenalt |
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,75 +1,73 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ../odh-modelmesh-controller/overlays/odh | ||
- ../odh-model-controller/overlays/odh | ||
|
||
commonLabels: | ||
app: model-mesh | ||
app.kubernetes.io/part-of: model-mesh | ||
resources: | ||
- ../default | ||
- ../dependencies/quickstart.yaml | ||
- ../dependencies/scripts | ||
- ../prometheus | ||
namespace: opendatahub | ||
configMapGenerator: | ||
- name: mesh-parameters | ||
envs: | ||
- envs: | ||
- params.env | ||
name: mesh-parameters | ||
generatorOptions: | ||
disableNameSuffixHash: true | ||
|
||
vars: | ||
- name: meshnamespace | ||
- fieldref: | ||
fieldPath: metadata.namespace | ||
name: mesh-namespace | ||
objref: | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
name: mesh-parameters | ||
apiVersion: v1 | ||
fieldref: | ||
fieldpath: metadata.namespace | ||
- name: monitoring-namespace | ||
- fieldref: | ||
fieldPath: data.monitoring-namespace | ||
name: monitoring-namespace | ||
objref: | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
name: mesh-parameters | ||
apiVersion: v1 | ||
fieldref: | ||
fieldpath: data.monitoring-namespace | ||
- name: odh-modelmesh | ||
- fieldref: | ||
fieldPath: data.odh-modelmesh | ||
name: odh-modelmesh | ||
objref: | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
name: mesh-parameters | ||
apiVersion: v1 | ||
fieldref: | ||
fieldpath: data.odh-modelmesh | ||
- name: odh-mm-rest-proxy | ||
- fieldref: | ||
fieldPath: data.odh-mm-rest-proxy | ||
name: odh-mm-rest-proxy | ||
objref: | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
name: mesh-parameters | ||
apiVersion: v1 | ||
fieldref: | ||
fieldpath: data.odh-mm-rest-proxy | ||
- name: odh-modelmesh-runtime-adapter | ||
- fieldref: | ||
fieldPath: data.odh-modelmesh-runtime-adapter | ||
name: odh-modelmesh-runtime-adapter | ||
objref: | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
name: mesh-parameters | ||
apiVersion: v1 | ||
fieldref: | ||
fieldpath: data.odh-modelmesh-runtime-adapter | ||
- name: odh-modelmesh-controller | ||
- fieldref: | ||
fieldPath: data.odh-modelmesh-controller | ||
name: odh-modelmesh-controller | ||
objref: | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
name: mesh-parameters | ||
apiVersion: v1 | ||
fieldref: | ||
fieldpath: data.odh-modelmesh-controller | ||
- name: odh-model-controller | ||
- fieldref: | ||
fieldPath: data.odh-model-controller | ||
name: odh-model-controller | ||
objref: | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
name: mesh-parameters | ||
apiVersion: v1 | ||
fieldref: | ||
fieldpath: data.odh-model-controller | ||
- name: odh-openvino | ||
- fieldref: | ||
fieldPath: data.odh-openvino | ||
name: odh-openvino | ||
objref: | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
name: mesh-parameters | ||
apiVersion: v1 | ||
fieldref: | ||
fieldpath: data.odh-openvino | ||
configurations: | ||
- params.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 |
---|---|---|
@@ -1,8 +1,7 @@ | ||
meshnamespace= | ||
monitoring-namespace= | ||
odh-mm-rest-proxy=quay.io/opendatahub/rest-proxy:v0.11.0-alpha | ||
monitoring-namespace=opendatahub | ||
odh-mm-rest-proxy=quay.io/opendatahub/rest-proxy:v0.10.0 | ||
odh-modelmesh-runtime-adapter=quay.io/opendatahub/modelmesh-runtime-adapter:v0.11.0-alpha | ||
odh-modelmesh=quay.io/opendatahub/modelmesh:v0.11.0-alpha | ||
odh-openvino=quay.io/opendatahub/openvino_model_server:2022.3-gpu | ||
odh-modelmesh-controller=quay.io/opendatahub/modelmesh-controller:v0.11.0-alpha | ||
odh-model-controller=quay.io/opendatahub/odh-model-controller:v0.9.6-auth | ||
odh-model-controller=quay.io/opendatahub/odh-model-controller:v0.11.0-alpha |
This file was deleted.
Oops, something went wrong.
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,5 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ../default | ||
- ../prometheus |
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,3 @@ | ||
bases: | ||
- ../rbac | ||
- ../manager |
File renamed without changes.
10 changes: 10 additions & 0 deletions
10
model-mesh/odh-model-controller/manager/kustomization.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,10 @@ | ||
resources: | ||
- manager.yaml | ||
|
||
generatorOptions: | ||
disableNameSuffixHash: true | ||
|
||
configMapGenerator: | ||
- files: | ||
- controller_manager_config.yaml | ||
name: manager-config |
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,55 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: odh-model-controller | ||
labels: | ||
control-plane: odh-model-controller | ||
app: odh-model-controller | ||
spec: | ||
selector: | ||
matchLabels: | ||
control-plane: odh-model-controller | ||
replicas: 3 | ||
template: | ||
metadata: | ||
annotations: | ||
kubectl.kubernetes.io/default-container: manager | ||
labels: | ||
control-plane: odh-model-controller | ||
app: odh-model-controller | ||
spec: | ||
securityContext: | ||
runAsNonRoot: true | ||
containers: | ||
- command: | ||
- /manager | ||
args: | ||
- --leader-elect | ||
image: controller:latest | ||
name: manager | ||
imagePullPolicy: Always | ||
securityContext: | ||
allowPrivilegeEscalation: false | ||
livenessProbe: | ||
httpGet: | ||
path: /healthz | ||
port: 8081 | ||
initialDelaySeconds: 15 | ||
periodSeconds: 20 | ||
readinessProbe: | ||
httpGet: | ||
path: /readyz | ||
port: 8081 | ||
initialDelaySeconds: 5 | ||
periodSeconds: 10 | ||
# TODO(user): Configure the resources accordingly based on the project requirements. | ||
# More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ | ||
resources: | ||
limits: | ||
cpu: 500m | ||
memory: 2Gi | ||
requests: | ||
cpu: 10m | ||
memory: 64Mi | ||
serviceAccountName: odh-model-controller | ||
terminationGracePeriodSeconds: 10 |
12 changes: 12 additions & 0 deletions
12
model-mesh/odh-model-controller/overlays/odh/kustomization.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: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ../../base | ||
|
||
patchesStrategicMerge: | ||
- odh_model_controller_manager_patch.yaml | ||
commonLabels: | ||
app.kubernetes.io/managed-by: odh-model-controller | ||
|
||
configurations: | ||
- params.yaml |
Oops, something went wrong.