Skip to content

Commit

Permalink
Move vscode and r-studio to the base layer
Browse files Browse the repository at this point in the history
  • Loading branch information
atheo89 authored and Adriana Theodorakopoulou committed Nov 2, 2023
1 parent a1d9142 commit 0a251c9
Show file tree
Hide file tree
Showing 8 changed files with 83 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
opendatahub.io/workbench-image-recommended: 'true'
from:
kind: DockerImage
name: quay.io/opendatahub/workbench-images@sha256:1c5bcbfc222dfb59849fee67e050719c688c93d3608f7b46edbe5666263641f3
name: $(odh-codeserver-notebook-n)
name: "2023.2"
referencePolicy:
type: Source
Expand All @@ -33,7 +33,7 @@ spec:
openshift.io/imported-from: quay.io/opendatahub/workbench-images
from:
kind: DockerImage
name: quay.io/opendatahub/workbench-images@sha256:fd5b9f65c0f46d4c093e2f58fce305eeb125bf19ee1d88f67b9fafe56142e92d
name: $(odh-codeserver-notebook-n-1)
name: "2023.1"
referencePolicy:
type: Source
45 changes: 45 additions & 0 deletions manifests/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ resources:
- jupyter-tensorflow-notebook-imagestream.yaml
- jupyter-trustyai-notebook-imagestream.yaml
- jupyter-habana-notebook-imagestream.yaml
- code-server-notebook-imagestream.yaml
- rstudio-gpu-notebook-imagestream.yaml
- rstudio-notebook-imagestream.yaml

commonLabels:
opendatahub.io/component: "true"
Expand Down Expand Up @@ -146,5 +149,47 @@ vars:
apiVersion: v1
fieldref:
fieldpath: data.odh-habana-notebook-image-n
- name: odh-codeserver-notebook-n
objref:
kind: ConfigMap
name: notebooks-parameters
apiVersion: v1
fieldref:
fieldpath: data.odh-codeserver-notebook-n
- name: odh-codeserver-notebook-n-1
objref:
kind: ConfigMap
name: notebooks-parameters
apiVersion: v1
fieldref:
fieldpath: data.odh-codeserver-notebook-n-1
- name: odh-rstudio-notebook-n
objref:
kind: ConfigMap
name: notebooks-parameters
apiVersion: v1
fieldref:
fieldpath: data.odh-rstudio-notebook-n
- name: odh-rstudio-notebook-n-1
objref:
kind: ConfigMap
name: notebooks-parameters
apiVersion: v1
fieldref:
fieldpath: data.odh-rstudio-notebook-n-1
- name: odh-rstudio-gpu-notebook-n
objref:
kind: ConfigMap
name: notebooks-parameters
apiVersion: v1
fieldref:
fieldpath: data.odh-rstudio-gpu-notebook-n
- name: odh-rstudio-gpu-notebook-n-1
objref:
kind: ConfigMap
name: notebooks-parameters
apiVersion: v1
fieldref:
fieldpath: data.odh-rstudio-gpu-notebook-n-1
configurations:
- params.yaml
6 changes: 6 additions & 0 deletions manifests/base/params.env
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ odh-tensorflow-gpu-notebook-image-n-2=quay.io/opendatahub/notebooks@sha256:fc52e
odh-trustyai-notebook-image-n=quay.io/opendatahub/workbench-images@sha256:636fdf26877be4013bc516c5ef4a818b5f7f29119ec3f601005fefc6d49433f0
odh-trustyai-notebook-image-n-1=quay.io/opendatahub/workbench-images@sha256:9c7dfc1c58bcbafbb4ffae58641e1bc4c3b5850886960bf27c652b7d0635d779
odh-habana-notebook-image-n=quay.io/opendatahub/workbench-images@sha256:b0821ae2abe45387a371108ac08e7474b64255e5c4519de5da594b4617fd79fe
odh-codeserver-notebook-n=quay.io/opendatahub/workbench-images@sha256:1c5bcbfc222dfb59849fee67e050719c688c93d3608f7b46edbe5666263641f3
odh-codeserver-notebook-n-1=quay.io/opendatahub/workbench-images@sha256:fd5b9f65c0f46d4c093e2f58fce305eeb125bf19ee1d88f67b9fafe56142e92d
odh-rstudio-notebook-n=quay.io/opendatahub/workbench-images@sha256:8e99e4e3800db121d02b50adec5eba27746bf89d32dba3e2b17e8d750ac53608
odh-rstudio-notebook-n-1=quay.io/opendatahub/workbench-images@sha256:75d6764e1155c1d18dc4472ff319f9291d0d9703b19ee1374e902b6ab7f55cfb
odh-rstudio-gpu-notebook-n=quay.io/opendatahub/workbench-images@sha256:3ad0bb5f3b8c2ca1d29a423913b6d8f32353d9787c5f38e4b56a9a922f6e3cdd
odh-rstudio-gpu-notebook-n-1=quay.io/opendatahub/workbench-images@sha256:aef5fd12264651abf286e9a4efbe25ca002cc257fbc6f1a5daf39fd55c7d6206
24 changes: 24 additions & 0 deletions manifests/base/params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,27 @@ varReference:
kind: ImageStream
apiGroup: image.openshift.io/v1
name: odh-habana-notebook-image-n
- path: spec/tags[]/from/name
kind: ImageStream
apiGroup: image.openshift.io/v1
name: odh-codeserver-notebook-n
- path: spec/tags[]/from/name
kind: ImageStream
apiGroup: image.openshift.io/v1
name: odh-codeserver-notebook-n-1
- path: spec/tags[]/from/name
kind: ImageStream
apiGroup: image.openshift.io/v1
name: odh-rstudio-notebook-n
- path: spec/tags[]/from/name
kind: ImageStream
apiGroup: image.openshift.io/v1
name: odh-rstudio-notebook-n-1
- path: spec/tags[]/from/name
kind: ImageStream
apiGroup: image.openshift.io/v1
name: odh-rstudio-gpu-notebook-n
- path: spec/tags[]/from/name
kind: ImageStream
apiGroup: image.openshift.io/v1
name: odh-rstudio-gpu-notebook-n-1
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
opendatahub.io/workbench-image-recommended: 'true'
from:
kind: DockerImage
name: quay.io/opendatahub/workbench-images@sha256:3ad0bb5f3b8c2ca1d29a423913b6d8f32353d9787c5f38e4b56a9a922f6e3cdd
name: $(odh-rstudio-gpu-notebook-n)
name: "2023.2"
referencePolicy:
type: Source
Expand All @@ -34,7 +34,7 @@ spec:
openshift.io/imported-from: quay.io/opendatahub/workbench-images
from:
kind: DockerImage
name: quay.io/opendatahub/workbench-images@sha256:aef5fd12264651abf286e9a4efbe25ca002cc257fbc6f1a5daf39fd55c7d6206
name: $(odh-rstudio-gpu-notebook-n-1)
name: "2023.1"
referencePolicy:
type: Source
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
opendatahub.io/workbench-image-recommended: 'true'
from:
kind: DockerImage
name: quay.io/opendatahub/workbench-images@sha256:8e99e4e3800db121d02b50adec5eba27746bf89d32dba3e2b17e8d750ac53608
name: $(odh-rstudio-notebook-n)
name: "2023.2"
referencePolicy:
type: Source
Expand All @@ -33,7 +33,7 @@ spec:
openshift.io/imported-from: quay.io/opendatahub/workbench-images
from:
kind: DockerImage
name: quay.io/opendatahub/workbench-images@sha256:75d6764e1155c1d18dc4472ff319f9291d0d9703b19ee1374e902b6ab7f55cfb
name: $(odh-rstudio-notebook-n-1)
name: "2023.1"
referencePolicy:
type: Source
6 changes: 2 additions & 4 deletions manifests/overlays/additional/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
Open Data Hub Tier 1 Notebooks
===

All of the notebooks in this repo are supported by the ODH Community as a Tier 1 component but not part of the ODH Core deployment.
All of the notebooks in this layer are supported by the ODH Community as a Tier 1 component but not part of the ODH Core deployment.
The source build files for any notebook in this repo must exist under the [opendatahub-io](https://github.com/opendatahub-io) organization

Notebooks:
===
* [Code Server Notebook ](https://github.com/opendatahub-io/notebooks/tree/main/codeserver) - Notebook image, allows to run Visual Studio Code (VSCode)
* [R Studio Notebook](https://github.com/opendatahub-io/notebooks/tree/main/rstudio) - Notebook image, integrated development environment (IDE) for R
* [CUDA R Studio Notebook](https://github.com/opendatahub-io/notebooks/tree/main/rstudio) - Notebook image, integrated development environment (IDE) for R with embedded CUDA capabilities
- None
3 changes: 0 additions & 3 deletions manifests/overlays/additional/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ kind: Kustomization

resources:
- ../../base
- code-server-notebook-imagestream.yaml
- rstudio-notebook-imagestream.yaml
- rstudio-gpu-notebook-imagestream.yaml

commonLabels:
opendatahub.io/component: "true"
Expand Down

0 comments on commit 0a251c9

Please sign in to comment.