-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yaml
49 lines (49 loc) · 1.36 KB
/
values.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
redis:
auth:
enabled: false
daskhub:
jupyterhub:
# couldn't get tls to work :/
# proxy:
# service:
# type: LoadBalancer
# https:
# enabled: true
# hosts:
# - https://http://ip.nip.io
# letsencrypt:
# contactEmail: "dhamma.kimpara@colorado.edu"
hub:
extraEnv:
JUPYTER_GATEWAY_URL: 'enterprise-gateway'
singleuser:
memory:
limit: 4G
guarantee: 2G
defaultUrl: "/lab"
extraEnv:
DASK_GATEWAY__CLUSTER__OPTIONS__IMAGE: '{JUPYTER_IMAGE_SPEC}'
GET_HOSTS_FROM: 'dns'
REDIS_HOST: 'app-redis-master'
dask-gateway:
gateway:
extraConfig:
optionHandler: |
from dask_gateway_server.options import Options, Integer, Float, String
def option_handler(options):
if ":" not in options.image:
raise ValueError("When specifying an image you must also provide a tag")
return {
"image": options.image,
}
c.Backend.cluster_options = Options(
String("image", default="pangeo/base-notebook:2020.07.28", label="Image"),
handler=option_handler,
)
enterprise-gateway:
kernel:
whitelist:
- pangeo_base
defaultKernelName: pangeo_base
kernelspecs:
image: dkimpara/custom-image:latest