Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
Introduce imagestreams that inlude vs-code and r studio workbenches i…
Browse files Browse the repository at this point in the history
…nto OOTB
  • Loading branch information
atheo89 committed Jun 22, 2023
1 parent 1e38849 commit b06b61b
Show file tree
Hide file tree
Showing 6 changed files with 114 additions and 1 deletion.
25 changes: 25 additions & 0 deletions notebook-images/base/code-server-notebook-imagestream.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
labels:
opendatahub.io/notebook-image: "true"
annotations:
opendatahub.io/notebook-image-url: "https://github.com/opendatahub-io/notebooks/tree/main/codeserver"
opendatahub.io/notebook-image-name: "Code Server"
opendatahub.io/notebook-image-desc: "Code Server workbench image that allows to run Visual Studio Code (VSCode) on a remote server through the browser"
opendatahub.io/notebook-image-order: "7"
name: code-server-notebook
spec:
lookupPolicy:
local: true
tags:
- annotations:
opendatahub.io/notebook-software: '[{"name":"Python","version":"v3.9"}]'
opendatahub.io/notebook-python-dependencies: '[{"name":"code-sever","version":"4.11"}]'
openshift.io/imported-from: quay.io/opendatahub/workbench-images
from:
kind: DockerImage
name: $(odh-code-server-notebook-image)
name: "2023.1"
referencePolicy:
type: Source
24 changes: 24 additions & 0 deletions notebook-images/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ resources:
- jupyter-pytorch-notebook-imagestream.yaml
- jupyter-tensorflow-notebook-imagestream.yaml
- jupyter-trustyai-notebook-imagestream.yaml
- code-server-notebook-imagestream.yaml
- rstudio-notebook-imagestream.yaml
- rstudio-gpu-notebook-imagestream.yaml
commonLabels:
opendatahub.io/component: "true"
component.opendatahub.io/name: notebooks
Expand Down Expand Up @@ -94,6 +97,27 @@ vars:
apiVersion: v1
fieldref:
fieldpath: data.odh-trustyai-notebook-image-n
- name: odh-code-server-notebook-image
objref:
kind: ConfigMap
name: notebooks-parameters
apiVersion: v1
fieldref:
fieldpath: data.odh-code-server-notebook-image
- name: odh-rstudio-notebook-image
objref:
kind: ConfigMap
name: notebooks-parameters
apiVersion: v1
fieldref:
fieldpath: data.odh-rstudio-notebook-image
- name: odh-rstudio-gpu-notebook-image
objref:
kind: ConfigMap
name: notebooks-parameters
apiVersion: v1
fieldref:
fieldpath: data.odh-rstudio-gpu-notebook-image
configurations:
- params.yaml

3 changes: 3 additions & 0 deletions notebook-images/base/params.env
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ odh-generic-data-science-notebook-image-n-1=quay.io/opendatahub/notebooks@sha256
odh-tensorflow-gpu-notebook-image-n=quay.io/opendatahub/workbench-images@sha256:a10b672ac314b4ab00afca32ff373909d1989d96442c97749cd48a17c55a13e7
odh-tensorflow-gpu-notebook-image-n-1=quay.io/opendatahub/notebooks@sha256:fc52e4fbc8c1c70dfa22dbfe6b0353f5165c507c125df4438fca6a3f31fe976e
odh-trustyai-notebook-image-n=quay.io/opendatahub/workbench-images@sha256:efc708b7d0decab7933a693617720d171b6b774cb0a9455b027a7df51d1e5640
odh-code-server-notebook-image=quay.io/opendatahub/workbench-images@sha256:fd5b9f65c0f46d4c093e2f58fce305eeb125bf19ee1d88f67b9fafe56142e92d
odh-rstudio-notebook-image=quay.io/opendatahub/workbench-images@sha256:75d6764e1155c1d18dc4472ff319f9291d0d9703b19ee1374e902b6ab7f55cfb
odh-rstudio-gpu-notebook-image=quay.io/opendatahub/workbench-images@sha256:aef5fd12264651abf286e9a4efbe25ca002cc257fbc6f1a5daf39fd55c7d6206
13 changes: 12 additions & 1 deletion notebook-images/base/params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,15 @@ varReference:
kind: ImageStream
apiGroup: image.openshift.io/v1
name: odh-trustyai-notebook-image-n

- path: spec/tags[]/from/name
kind: ImageStream
apiGroup: image.openshift.io/v1
name: odh-code-server-notebook-image
- path: spec/tags[]/from/name
kind: ImageStream
apiGroup: image.openshift.io/v1
name: odh-rstudio-notebook-image
- path: spec/tags[]/from/name
kind: ImageStream
apiGroup: image.openshift.io/v1
name: odh-rstudio-gpu-notebook-image
25 changes: 25 additions & 0 deletions notebook-images/base/rstudio-gpu-notebook-imagestream.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
labels:
opendatahub.io/notebook-image: "true"
annotations:
opendatahub.io/notebook-image-url: "https://github.com/opendatahub-io/notebooks/tree/main/rstudio"
opendatahub.io/notebook-image-name: "CUDA - R Studio"
opendatahub.io/notebook-image-desc: "R Studio workbench image that allows to integrated development environment for R, a programming language for statistical computing and graphics."
opendatahub.io/notebook-image-order: "9"
name: rstudio-gpu-notebook
spec:
lookupPolicy:
local: true
tags:
- annotations:
opendatahub.io/notebook-software: '[{"name":"CUDA","version":"11.8"},{"name":"Python","version":"v3.9"}]'
opendatahub.io/notebook-python-dependencies: '[{"name":"r-studio","version":"4.3"}]'
openshift.io/imported-from: quay.io/opendatahub/workbench-images
from:
kind: DockerImage
name: $(odh-rstudio-gpu-notebook-image)
name: "2023.1"
referencePolicy:
type: Source
25 changes: 25 additions & 0 deletions notebook-images/base/rstudio-notebook-imagestream.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
labels:
opendatahub.io/notebook-image: "true"
annotations:
opendatahub.io/notebook-image-url: "https://github.com/opendatahub-io/notebooks/tree/main/rstudio"
opendatahub.io/notebook-image-name: "R Studio"
opendatahub.io/notebook-image-desc: "R Studio workbench image that allows to integrated development environment for R, a programming language for statistical computing and graphics."
opendatahub.io/notebook-image-order: "8"
name: rstudio-notebook
spec:
lookupPolicy:
local: true
tags:
- annotations:
opendatahub.io/notebook-software: '[{"name":"Python","version":"v3.9"}]'
opendatahub.io/notebook-python-dependencies: '[{"name":"r-studio","version":"4.3"}]'
openshift.io/imported-from: quay.io/opendatahub/workbench-images
from:
kind: DockerImage
name: $(odh-rstudio-notebook-image)
name: "2023.1"
referencePolicy:
type: Source

0 comments on commit b06b61b

Please sign in to comment.