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
f86946d7
Verified
Commit
f86946d7
authored
4 months ago
by
Jaromír Hradil
Browse files
Options
Downloads
Patches
Plain Diff
Upgrading to Hub 5 + enabling RTC on stage
parent
adf41089
No related branches found
Branches containing commit
No related tags found
1 merge request
!28
Upgrading to Hub 5 + enabling RTC on stage
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
common/deployments/hub-staging.yaml
+12
-9
12 additions, 9 deletions
common/deployments/hub-staging.yaml
common/playbooks/files/jupyterhub-jwt.yaml
+1
-1
1 addition, 1 deletion
common/playbooks/files/jupyterhub-jwt.yaml
with
13 additions
and
10 deletions
common/deployments/hub-staging.yaml
+
12
−
9
View file @
f86946d7
...
...
@@ -50,7 +50,7 @@ singleuser:
k8s-app
:
cluster-ingress
image
:
name
:
eginotebooks/single-user-eosc
tag
:
"
sha-
dea4fa2
"
tag
:
"
sha-
7052495
"
profileList
:
-
display_name
:
Small Environment - 2 vCPU / 4 GB RAM
description
:
>
...
...
@@ -59,6 +59,8 @@ 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
:
...
...
@@ -69,6 +71,8 @@ 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
...
...
@@ -83,6 +87,8 @@ 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
...
...
@@ -130,12 +136,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 \
...
...
@@ -161,8 +164,8 @@ 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
"
config
:
Authenticator
:
enable_auth_state
:
true
...
...
This diff is collapsed.
Click to expand it.
common/playbooks/files/jupyterhub-jwt.yaml
+
1
−
1
View file @
f86946d7
...
...
@@ -20,7 +20,7 @@ spec:
containers
:
-
name
:
jwt
# recommended to keep it in sync with */deployments/*.yaml
image
:
eginotebooks/hub:sha-
6edf89c
image
:
eginotebooks/hub:sha-
b20ead2
args
:
-
fastapi
-
run
...
...
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