forked from Quansight/jupytercon-qhub-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqhub-config.yaml
143 lines (130 loc) · 3.15 KB
/
qhub-config.yaml
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
project_name: qhub-jupytercon-demo
provider: do
ci_cd: github-actions
domain: "demo.qhub.dev"
security:
authentication:
type: GitHub
config:
client_id: 3d1d32073e5b2b86c462
client_secret: ad802faa4dc37cf933efe54cb7e516b1a5b65f1f
oauth_callback_url: https://jupyter.demo.qhub.dev/hub/oauth_callback
users:
costrouc:
uid: 1000
primary_group: users
secondary_groups:
- billing
dharhas:
uid: 1001
primary_group: admin
aktech:
uid: 1004
primary_group: users
secondary_groups:
- admin
tonyfast:
uid: 1005
primary_group: users
secondary_groups:
- quansight
groups:
users:
gid: 100
admin:
gid: 101
billing:
gid: 102
quansight:
gid: 103
digital_ocean:
region: nyc3
kubernetes_version: "1.18.8-do.0"
node_groups:
general:
instance: "s-2vcpu-4gb"
min_nodes: 1
max_nodes: 1
user:
instance: "s-2vcpu-4gb"
min_nodes: 1
max_nodes: 4
worker:
instance: "s-2vcpu-4gb"
min_nodes: 1
max_nodes: 4
default_images:
jupyterhub: "quansight/qhub-jupyterhub:4c8c28332be1fde32f786c54a5961b5f3d789e16"
jupyterlab: "quansight/qhub-jupyterlab:4c8c28332be1fde32f786c54a5961b5f3d789e16"
dask_worker: "quansight/qhub-dask-worker:4c8c28332be1fde32f786c54a5961b5f3d789e16"
storage:
conda_store: 20Gi
shared_filesytem: 10Gi
profiles:
jupyterlab:
- display_name: Small Instance
description: Stable environment with 1 cpu / 1 GB ram
groups:
- admin
kubespawner_override:
cpu_limit: 1
cpu_guarentee: 1
mem_limit: 1G
mem_guarentee: 1G
image: "quansight/qhub-jupyterlab:4c8c28332be1fde32f786c54a5961b5f3d789e16"
- display_name: Medium Instance
description: Stable environment with 1.5 cpu / 2 GB ram
default: true
kubespawner_override:
cpu_limit: 1.5
cpu_guarentee: 1.25
mem_limit: 2G
mem_guarentee: 2G
image: "quansight/qhub-jupyterlab:4c8c28332be1fde32f786c54a5961b5f3d789e16"
dask_worker:
"Small Worker":
worker_cores_limit: 1
worker_cores: 1
worker_memory_limit: 1G
worker_memory: 1G
image: "quansight/qhub-dask-worker:4c8c28332be1fde32f786c54a5961b5f3d789e16"
"Medium Worker":
worker_cores_limit: 1.5
worker_cores: 1.25
worker_memory_limit: 2G
worker_memory: 2G
image: "quansight/qhub-dask-worker:4c8c28332be1fde32f786c54a5961b5f3d789e16"
environments:
"environment-default.yaml":
name: default
channels:
- conda-forge
- defaults
dependencies:
- python=3.7
- ipykernel
- ipywidgets
- dask==2.14.0
- distributed==2.14.0
- dask-gateway=0.6.1
- numpy
- numba
- pandas
- flask
"environment-example-2.yaml":
name: example-2
channels:
- conda-forge
- defaults
dependencies:
- python=3.7
- ipykernel
- ipywidgets
- dask==2.14.0
- distributed==2.14.0
- dask-gateway=0.6.1
- numpy
- numba
- pandas
- jinja2
- pyyaml