Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • ci-megalinter
  • del-users
  • demo
  • demo2
  • demo3
  • demo3-jupyter5
  • egi-b2drop-no-collapse
  • egi-devel3
  • egi-production
  • enable_rtc
  • envri-hub
  • envri-hub-new-aai
  • eosc-templating
  • eosc-ui
  • experiments/collab
  • experiments/enterprise-gateway
  • future/jupyterhub-5.x
  • gpu_staging
  • jwt
  • karmada
  • lfs
  • master
  • owncloud-integration2
  • resurrect-testing-ownloud
  • staging1-raw-image
  • token-exchange
  • update_claim_group_keys
  • versioning
28 results

Target

Select target project
  • 702/projekty/notebooks-operations
1 result
Select Git revision
  • ci-megalinter
  • del-users
  • demo
  • demo2
  • demo3
  • demo3-jupyter5
  • egi-b2drop-no-collapse
  • egi-devel3
  • egi-production
  • enable_rtc
  • envri-hub
  • envri-hub-new-aai
  • eosc-templating
  • eosc-ui
  • experiments/collab
  • experiments/enterprise-gateway
  • future/jupyterhub-5.x
  • gpu_staging
  • jwt
  • karmada
  • lfs
  • master
  • owncloud-integration2
  • resurrect-testing-ownloud
  • staging1-raw-image
  • token-exchange
  • update_claim_group_keys
  • versioning
28 results
Show changes
Commits on Source (3)
......@@ -50,7 +50,7 @@ singleuser:
k8s-app: cluster-ingress
image:
name: eginotebooks/single-user-eosc
tag: "sha-7052495"
tag: "sha-d822021"
profileList:
- display_name: Small Environment - 2 vCPU / 4 GB RAM
description: >
......@@ -59,8 +59,6 @@ singleuser:
kubespawner_override:
args:
- "--CondaKernelSpecManager.env_filter='/opt/conda$'"
environment:
JUPYTERHUB_ALLOW_TOKEN_IN_URL: "1"
extra_annotations:
"egi.eu/flavor": "small-environment-2-vcpu-4-gb-ram"
vo_claims:
......@@ -71,8 +69,6 @@ singleuser:
kubespawner_override:
args:
- "--CondaKernelSpecManager.env_filter='/opt/conda$'"
environment:
JUPYTERHUB_ALLOW_TOKEN_IN_URL: "1"
extra_annotations:
"egi.eu/flavor": "medium-environment-4-vcpu-8-gb-ram"
cpu_guarantee: 0.4
......@@ -87,8 +83,6 @@ singleuser:
kubespawner_override:
args:
- "--CondaKernelSpecManager.env_filter='/opt/conda$'"
environment:
JUPYTERHUB_ALLOW_TOKEN_IN_URL: "1"
cpu_guarantee: 0.8
cpu_limit: 8
mem_guarantee: 2G
......@@ -166,6 +160,10 @@ hub:
name: eginotebooks/hub
# k8s-hub 4.0.0
tag: "sha-b20ead2"
loadRoles:
#user scopes required for user initiated sharing API
user:
scopes: ["self", "shares!user"]
config:
Authenticator:
enable_auth_state: true
......@@ -321,6 +319,13 @@ hub:
c.JupyterHub.spawner_class = WebDavOIDCSpawner
c.WebDavOIDCSpawner.token_mount_path = "/var/run/secrets/oidc/"
c.WebDavOIDCSpawner.http_timeout = 90
#Scopes for user sharing api extension to be able to
#use browser token for API queries
c.WebDavOIDCSpawner.oauth_client_allowed_scopes = [
"access:servers!server",
"shares!server"
]
{% endraw %}
templatePaths:
- /egi-notebooks-hub/ec-templates
......
......@@ -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 \
......
......@@ -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 \
......