config.yaml 2.04 KB
Newer Older
Craig Russell's avatar
Craig Russell committed
1
2
3
4
5
6
7
8
9
10
11
12
13
replicas: 2
pdb:
  minAvailable: 1

resources:
  requests:
    cpu: "1"
    memory: 2Gi
  limits:
    cpu: "2"
    memory: 3Gi


14
15
config:
  BinderHub:
Craig Russell's avatar
Craig Russell committed
16
17
    build_memory_limit: "8G"
    build_memory_request: "4G"
18
    # hub_url: http://10.43.114.27
Craig Russell's avatar
Craig Russell committed
19
    # hub_url: http://binder.bioimagearchive.org/binderhub/
20
    use_registry: true
21
    image_prefix: bioimagearchive/binder-
Craig Russell's avatar
Craig Russell committed
22
    build_image: jupyter/repo2docker:2021.01.0-35.gb6e451d
23
24
25
    # build_image: "aicrowd/repo2docker"
    # build_image: "aicrowd/repo2docker:latest"
    # base_url: "/staging" #Doesn't work
26
27
    # networkPolicy:
    #   enabled: true
28
#     # Good until this:
29
30
31
32
33
34
35
36
37
38
jupyterhub:
  hub:
    baseUrl: /binderhub
    networkPolicy:
      enabled: true
  ingress:
    enabled: true
    hosts:
      - ""
      - localhost
Craig Russell's avatar
Craig Russell committed
39
40
41
    annotations:
      kubernetes.io/ingress.class: nginx
      nginx.ingress.kubernetes.io/proxy-body-size: 2m
42
  singleuser:
Craig Russell's avatar
Craig Russell committed
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
    cpu:
      limit: 2
      guarantee: 1
    memory:
      limit: 4G
      guarantee: 1G
  #   storage:
  #     type: none
  #     extraVolumes:
  #       - name: nfs-bs-ftp
  #         persistentVolumeClaim:
  #           claimName: nfs-bs-ftp-pvc
  #     extraVolumeMounts:
  #       - name: nfs-bs-ftp
  #         mountPath: /home/jovyan/biostudies
58
      # #     readOnly: true
Craig Russell's avatar
Craig Russell committed
59
60
61
62
63
64
65
66
  # profileList:
  #   - display_name: "GPU Server"
  #     description: "Spawns a notebook server with access to a GPU"
  #     kubespawner_override:
  #       extra_resource_limits:
  #         nvidia.com/gpu: "1"
  #   - display_name: "No GPU"
  #     description: "Spawns a notebook server with access to a GPU"
67
# proxy:
Craig Russell's avatar
Craig Russell committed
68
#   # secretToken:
69
70
71
72
73
74
75
76
77
78
#   service:
#     type: ClusterIP
#   networkPolicy:
#     enabled: true

# ingress:
#   enabled: true
#   hosts:
#     - ""
#     - localhost
Craig Russell's avatar
Craig Russell committed
79
80
81
82
83
84
85
86
87
dind:
  enabled: true
  resources:
    requests:
      cpu: "1"
      memory: 2Gi
    limits:
      cpu: "2"
      memory: 4Gi
88
89

ingress:
90
  # pathSuffix: ""
91
92
  enabled: true
  hosts:
93
94
    - ""
    - "localhost"
95
96
  annotations:
    kubernetes.io/ingress.class: nginx
Craig Russell's avatar
Craig Russell committed
97
    nginx.ingress.kubernetes.io/proxy-body-size: 2m