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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
702
Projekty
notebooks-operations
Merge requests
!30
Upgrading to Hub 5 + enabling user sharing and RTC on production
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Upgrading to Hub 5 + enabling user sharing and RTC on production
hub5_rtc_upgrade_production
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Jaromír Hradil
requested to merge
hub5_rtc_upgrade_production
into
master
7 months ago
Overview
0
Commits
1
Pipelines
0
Changes
1
0
0
Merge request reports
Viewing commit
b71123b5
Show latest version
1 file
+
23
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Verified
b71123b5
Upgrading to Hub 5 + enabling RTC and user-initiated sharing on production
· b71123b5
Jaromír Hradil
authored
7 months ago
common/deployments/hub-production.yaml
+
17
−
9
View file @ 9924aeed
Edit in single-file editor
Open in Web IDE
Show full file
@@ -50,7 +50,7 @@ singleuser:
k8s-app
:
cluster-ingress
image
:
name
:
eginotebooks/single-user-eosc
tag
:
"
sha-d
ea4fa2
"
tag
:
"
sha-d
822021
"
profileList
:
-
display_name
:
Small Environment - 2 vCPU / 4 GB RAM
description
:
>
@@ -130,12 +130,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
# Disables RTC and RTC ui extensions by default.
jupyter-labextension disable @jupyter/collaboration-extension
jupyter-labextension lock @jupyter/collaboration-extension
fi
jupyter-labextension disable @jupyter/docprovider-extension
cd .
exec jupyterhub-singleuser \
@@ -161,8 +158,12 @@ hub:
# keep k8s-hub version in sync with ../playbooks/notebooks.yaml
image
:
name
:
eginotebooks/hub
# k8s-hub 3.3.8
tag
:
"
sha-f5af1a3"
# 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
@@ -320,6 +321,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
Loading