Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
notebooks-operations
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
702
Projekty
notebooks-operations
Commits
6f8d2b39
Verified
Commit
6f8d2b39
authored
4 months ago
by
Jaromír Hradil
Browse files
Options
Downloads
Patches
Plain Diff
Adding latest Hub5 + RTC upgrade into testing + devel
parent
9894550c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
eosc-devel/deployments/fullhub.yaml
+6
-8
6 additions, 8 deletions
eosc-devel/deployments/fullhub.yaml
eosc-testing/deployments/hub.yaml
+5
-56
5 additions, 56 deletions
eosc-testing/deployments/hub.yaml
with
11 additions
and
64 deletions
eosc-devel/deployments/fullhub.yaml
+
6
−
8
View file @
6f8d2b39
...
...
@@ -67,11 +67,11 @@ singleuser:
kubespawner_override
:
args
:
-
"
--CondaKernelSpecManager.env_filter='/opt/conda$'"
environment
:
JUPYTERHUB_ALLOW_TOKEN_IN_URL
:
"
1"
image
:
"
valtri/single-user:jupyter-4e-collab"
extra_annotations
:
"
egi.eu/flavor"
:
"
small-environment-2-vcpu-4-gb-ram"
#Removes OIDC token mount in notebooks container
mount_secrets_volume
:
false
-
display_name
:
Small Environment - 2 vCPU / 4 GB RAM
description
:
>
The notebook environment includes Python, R, Julia and Octave kernels.
...
...
@@ -150,12 +150,10 @@ singleuser:
#
/usr/local/bin/jupyterhub-wait-remote-home
# Disables RTC extension. To enable it set this env variable in kubespawner_override
# to JUPYTERHUB_ALLOW_TOKEN_IN_URL="1"
if [ -z "$JUPYTERHUB_ALLOW_TOKEN_IN_URL" ]; then
jupyter-labextension disable @jupyter/collaboration-extension
jupyter-labextension lock @jupyter/collaboration-extension
fi
# Disables RTC and RTC ui extensions by default.
jupyter-labextension disable @jupyter/collaboration-extension
jupyter-labextension disable @jupyter/docprovider-extension
cd .
exec jupyterhub-singleuser \
...
...
This diff is collapsed.
Click to expand it.
eosc-testing/deployments/hub.yaml
+
5
−
56
View file @
6f8d2b39
...
...
@@ -54,50 +54,6 @@ singleuser:
tag
:
"
sha-7052495"
profileList
:
-
display_name
:
Small Environment - 2 vCPU / 4 GB RAM
description
:
>
The notebook environment includes Python, R, Julia and Octave kernels.
default
:
true
kubespawner_override
:
args
:
-
"
--CondaKernelSpecManager.env_filter='/opt/conda$'"
extra_annotations
:
"
egi.eu/flavor"
:
"
small-environment-2-vcpu-4-gb-ram"
vo_claims
:
-
urn:geant:eosc-federation.eu:res:notebooks.open-science-cloud.ec.europa.eu:2-vcpu-4-gb-ram:act:ppa
-
display_name
:
Medium Environment - 4 vCPU / 8 GB RAM
description
:
>
The notebook environment includes Python, R, Julia and Octave kernels.
kubespawner_override
:
args
:
-
"
--CondaKernelSpecManager.env_filter='/opt/conda$'"
extra_annotations
:
"
egi.eu/flavor"
:
"
medium-environment-4-vcpu-8-gb-ram"
cpu_guarantee
:
0.4
cpu_limit
:
4
mem_guarantee
:
1G
mem_limit
:
8G
vo_claims
:
-
urn:geant:eosc-federation.eu:res:notebooks.open-science-cloud.ec.europa.eu:4-vcpu-8-gb-ram:act:ppa
-
display_name
:
Large Environment - 8 vCPU / 16 GB RAM / GPU
description
:
>
The notebook environment includes Python, R, Julia and Octave kernels with GPU.
kubespawner_override
:
args
:
-
"
--CondaKernelSpecManager.env_filter='/opt/conda$'"
cpu_guarantee
:
0.8
cpu_limit
:
8
mem_guarantee
:
2G
mem_limit
:
16G
extra_annotations
:
"
egi.eu/flavor"
:
"
large-environment-8-vcpu-16-gb-ram-gpu"
extra_resource_guarantees
:
nvidia.com/gpu
:
1
extra_resource_limits
:
nvidia.com/gpu
:
1
vo_claims
:
-
urn:geant:eosc-federation.eu:res:notebooks.open-science-cloud.ec.europa.eu:8-vcpu-16-gb-ram-gpu:act:ppa
#RTC images
-
display_name
:
Small Environment - 2 vCPU / 4 GB RAM (Real-time Collaboration)
description
:
>
The notebook environment includes Python, R, Julia and Octave kernels.
default
:
true
...
...
@@ -108,11 +64,9 @@ singleuser:
JUPYTERHUB_ALLOW_TOKEN_IN_URL
:
"
1"
extra_annotations
:
"
egi.eu/flavor"
:
"
small-environment-2-vcpu-4-gb-ram"
#Removes OIDC token mount in notebooks container
mount_secrets_volume
:
false
vo_claims
:
-
urn:geant:eosc-federation.eu:res:notebooks.open-science-cloud.ec.europa.eu:2-vcpu-4-gb-ram:act:ppa
-
display_name
:
Medium Environment - 4 vCPU / 8 GB RAM
(Real-time Collaboration)
-
display_name
:
Medium Environment - 4 vCPU / 8 GB RAM
description
:
>
The notebook environment includes Python, R, Julia and Octave kernels.
kubespawner_override
:
...
...
@@ -126,10 +80,9 @@ singleuser:
cpu_limit
:
4
mem_guarantee
:
1G
mem_limit
:
8G
mount_secrets_volume
:
false
vo_claims
:
-
urn:geant:eosc-federation.eu:res:notebooks.open-science-cloud.ec.europa.eu:4-vcpu-8-gb-ram:act:ppa
-
display_name
:
Large Environment - 8 vCPU / 16 GB RAM / GPU
(Real-time Collaboration)
-
display_name
:
Large Environment - 8 vCPU / 16 GB RAM / GPU
description
:
>
The notebook environment includes Python, R, Julia and Octave kernels with GPU.
kubespawner_override
:
...
...
@@ -147,7 +100,6 @@ singleuser:
nvidia.com/gpu
:
1
extra_resource_limits
:
nvidia.com/gpu
:
1
mount_secrets_volume
:
false
vo_claims
:
-
urn:geant:eosc-federation.eu:res:notebooks.open-science-cloud.ec.europa.eu:8-vcpu-16-gb-ram-gpu:act:ppa
cmd
:
jupyterhub-singleuser-webdav-wrapper
...
...
@@ -185,12 +137,9 @@ singleuser:
#
/usr/local/bin/jupyterhub-wait-remote-home
# Disables RTC extension. To enable it set this env variable in kubespawner_override
# to JUPYTERHUB_ALLOW_TOKEN_IN_URL="1"
if [ -z "$JUPYTERHUB_ALLOW_TOKEN_IN_URL" ]; then
jupyter-labextension disable @jupyter/collaboration-extension
jupyter-labextension lock @jupyter/collaboration-extension
fi
# Disables RTC and RTC ui extensions by default.
jupyter-labextension disable @jupyter/collaboration-extension
jupyter-labextension disable @jupyter/docprovider-extension
cd .
exec jupyterhub-singleuser \
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment