-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
82 lines (82 loc) · 2.54 KB
/
Copy pathconfig.yaml
File metadata and controls
82 lines (82 loc) · 2.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
hub:
config:
JupyterHub:
authenticator_class: nativeauthenticator.NativeAuthenticator
admin_access: false
Authenticator:
allow_all: true
admin_users:
- langdon-holmes
- wesley-morris
NativeAuthenticator:
enable_signup: true
minimum_password_length: 8
check_common_password: true
ask_email_on_signup: true
allow_2fa: false
tos: "Unauthorized access to data (individually identifiable information) on this computer is a violation of federal law and will result in prosecution. Do you wish to continue?"
containerSecurityContext:
allowPrivilegeEscalation: true
# extraFiles:
# options_form:
# mountPath: /usr/local/etc/jupyterhub/jupyterhub_config.d/custom_options_form.py
# custom_pod_hook:
# mountPath: /usr/local/etc/jupyterhub/jupyterhub_config.d/custom_pod_hook.py
proxy:
service:
type: NodePort
nodePorts:
http: 30000
cull:
enabled: true
timeout: 10800
every: 600
singleuser:
defaultUrl: "/lab"
extraEnv:
JUPYTERHUB_SINGLEUSER_APP: "jupyter_server.serverapp.ServerApp"
GRANT_SUDO: "yes"
NOTEBOOK_ARGS: "--allow-root"
uid: 0
allowPrivilegeEscalation: True
cmd: start-singleuser.sh
image:
name: langdonholmes/base-nlp
tag: "cuda-12.8"
pullPolicy: "IfNotPresent"
profileList:
- display_name: "Normal Server"
description: "Spawns a notebook server with no GPU access"
- display_name: "RStudio Server"
description: "Spawns an RStudio interface"
kubespawner_override:
image: "langdonholmes/rstudio@sha256:b85000c3a7fc54e0962bbcebf8661e502772f2b1a0b4e9d0d8d6ac7c29ad25ce"
default_url: "/rstudio"
pullPolicy: "IfNotPresent"
- display_name: "GPU Server"
description: "Spawns a notebook server with GPU access."
kubespawner_override:
extra_resource_limits:
nvidia.com/gpu: "1"
extra_resource_guarantees:
nvidia.com/gpu: "1"
storage:
capacity: 50Gi
extraVolumes:
- name: jupyterhub-active-projects
persistentVolumeClaim:
claimName: active-projects
- name: jupyterhub-project-archive
persistentVolumeClaim:
claimName: project-archive
extraVolumeMounts:
- name: jupyterhub-active-projects
mountPath: /home/jovyan/active-projects
- name: jupyterhub-project-archive
mountPath: /home/jovyan/project-archive
ingress:
enabled: true
hosts:
- jupyter.learlab.vanderbilt.edu
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: "0"