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

Update RHODS to RHOAI #288

Merged
merged 2 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions rhods-operator/INFO.md → openshift-ai/INFO.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# rhods-operator
# Red Hat OpenShift AI

Red Hat OpenShift Data Science (RHODS) is a machine-learning-as-a-service
platform built on Red Hat's Kubernetes-based OpenShift Container Platform,
Ceph Object Storage, and integrating a collection of open source projects.
Red Hat OpenShift AI (RHOAI) is a machine-learning-as-a-service
platform built on Red Hat's Kubernetes-based OpenShift Container Platform
integrating a collection of open source projects.

The RHODS operator allows users to install and manage RHODS components.
The RHOAI operator allows users to install and manage RHOAI components.
Users can mix and match tools from each project to fulfill the needs of
their use case. Each of the projects share some components, but can be
mostly seen as an extension of each other to provide as complete a solution
Expand All @@ -13,4 +13,4 @@ as possible for enterprise users.
### Components

* Notebook Controller - Open source multi-user notebook platform w/ GPU support
* RHODS Dashboard - Dashboard for Red Hat OpenShift Data Science
* RHOAI Dashboard - Dashboard for Red Hat OpenShift AI
14 changes: 8 additions & 6 deletions rhods-operator/README.md → openshift-ai/README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
# Red Hat OpenShift Data Science
# Red Hat OpenShift AI

Install Red Hat OpenShift Data Science.
Install Red Hat OpenShift AI.

Do not use the `base` directory directly, as you will need to patch the `channel` based on the version of OpenShift you are using, or the version of the operator you want to use.

The current *overlays* available are for the following channels:

* [beta](operator/overlays/beta)
* [fast](operator/overlays/beta)
* [stable](operator/overlays/stable)


## Usage

If you have cloned the `gitops-catalog` repository, you can install Red Hat OpenShift Data Science based on the overlay of your choice by running from the root (`gitops-catalog`) directory.
If you have cloned the `gitops-catalog` repository, you can install Red Hat OpenShift AI based on the overlay of your choice by running from the root (`gitops-catalog`) directory.

```
oc apply -k rhods-operator/operator/overlays/<channel>
oc apply -k openshift-ai/operator/overlays/<channel>
```

Or, without cloning:

```
oc apply -k https://github.com/redhat-cop/gitops-catalog/rhods-operator/operator/overlays/<channel>
oc apply -k https://github.com/redhat-cop/gitops-catalog/openshift-ai/operator/overlays/<channel>
```

As part of a different overlay in your own GitOps repo:
Expand All @@ -29,5 +31,5 @@ As part of a different overlay in your own GitOps repo:
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://github.com/redhat-cop/gitops-catalog/rhods-operator/operator/overlays/<channel>?ref=main
- https://github.com/redhat-cop/gitops-catalog/openshift-ai/operator/overlays/<channel>?ref=main
```
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: datasciencecluster.opendatahub.io/v1
kind: DataScienceCluster
apiVersion: datasciencecluster.opendatahub.io/v1
metadata:
name: default
spec:
Expand All @@ -11,7 +11,13 @@ spec:
datasciencepipelines:
managementState: Managed
kserve:
managementState: Removed
managementState: Managed
serving:
ingressGateway:
certificate:
type: SelfSigned
managementState: Managed
name: knative-serving
modelmeshserving:
managementState: Managed
ray:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
kind: Namespace
metadata:
annotations:
openshift.io/display-name: "Red Hat OpenShift Data Science"
openshift.io/display-name: "Red Hat OpenShift AI"
labels:
openshift.io/cluster-monitoring: 'true'
name: redhat-ods-operator
3 changes: 3 additions & 0 deletions openshift-ai/operator/overlays/fast/patch-channel.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- op: replace
path: /spec/channel
value: fast
11 changes: 11 additions & 0 deletions openshift-ai/operator/overlays/stable/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../base

patches:
- target:
kind: Subscription
name: rhods-operator
path: patch-channel.yaml
1 change: 1 addition & 0 deletions rhods-operator
Loading