Skip to content

Commit

Permalink
[fix] updating daskhub, adding gpu, removing old gpu, adding allow al…
Browse files Browse the repository at this point in the history
…l auth
  • Loading branch information
ctr26 committed Sep 3, 2024
1 parent 825d9bf commit fa3108d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 33 deletions.
19 changes: 11 additions & 8 deletions daskhub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jupyterhub:
# See https://github.com/jupyterhub/zero-to-jupyterhub-k8s/blob/master/jupyterhub/values.yaml
hub:
config:
Authenticator:
enable_auth_state: true
allow_all: true ## Add this to allow all users
GenericOAuthenticator:
# client_id: cfac1c45-ab70-4596-b5b6-d1d92cf8ce3b
# client_secret: c064871e-2b7b-4b64-a6cb-0c0b3821d262e1002124-2cb5-4d80-ab64-f82b1ad6e2c6
Expand Down Expand Up @@ -97,14 +100,14 @@ jupyterhub:
kubespawner_override:
cpu_limit: 8
mem_limit: "32G"
- display_name: "1 GPU High Memory"
description: "Environment with 4 CPUs, 16Gi RAM, and 1 GPU"
kubespawner_override:
image: pangeo/ml-notebook
cpu_limit: 4
mem_limit: "16G"
extra_resource_limits:
nvidia.com/gpu: "1"
# - display_name: "1 GPU High Memory"
# description: "Environment with 4 CPUs, 16Gi RAM, and 1 GPU"
# kubespawner_override:
# image: pangeo/ml-notebook
# cpu_limit: 4
# mem_limit: "16G"
# extra_resource_limits:
# nvidia.com/gpu: "1"

dask-gateway:
enabled: true # Enabling dask-gateway will install Dask Gateway as a dependency.
Expand Down
25 changes: 12 additions & 13 deletions helmsman.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
namespaces:
prod:
dev:

metadata:
organization: EBI
maintainer: Craig Russell (ctr26@ebi.ac.uk)
Expand Down Expand Up @@ -46,7 +42,17 @@ appsTemplates:
config.BinderHub.use_registry: true



apps:

nvidia-device-plugin:
name: "nvidia-device-plugin"
namespace: "nvidia-device-plugin"
chart: "nvdp/nvidia-device-plugin"
group: "prod"
enabled: false
version: "0.10.0"

docker-registry:
name: "docker-registry"
namespace: "docker-registry"
Expand All @@ -68,7 +74,7 @@ apps:
chart: "ingress-nginx/ingress-nginx"
wait: true
group: "prod"
enabled: true
enabled: false
priority: -100
version: "4.6.0"
valuesFiles:
Expand Down Expand Up @@ -99,6 +105,7 @@ apps:
valuesFiles:
- "binderhub/values.yaml"


cert-manager:
name: "cert-manager"
chart: "jetstack/cert-manager"
Expand All @@ -125,11 +132,3 @@ apps:
enabled: false
version: "1.9.1"
group: "prod"

nvidia-device-plugin:
name: "nvidia-device-plugin"
namespace: "nvidia-device-plugin"
chart: "nvdp/nvidia-device-plugin"
group: "prod"
enabled: false
version: "0.10.0"
12 changes: 0 additions & 12 deletions helmsman/local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,3 @@ apps:
valuesFiles:
- "../binderhub/values.yaml"
- "../binderhub/local.yaml"
binderhub-gpu:
namespace: "prod"
enabled: false
# valuesFiles:
# - "../binderhub/values.yaml"
# - "../binderhub/local.yaml"
# - "../binderhub/local/gpu.yaml"

# cert-manager:
# enabled: true
# nvidia-gpu-operator:
# enabled: true

0 comments on commit fa3108d

Please sign in to comment.