-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use dask/daskhub helm chart #697
Changes from 1 commit
0c7ae4c
64d12f1
980c0b7
cfd052c
5b39e81
3d92420
5ea9b9d
ed5da36
fdf93b7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,33 @@ pangeo: | |
memory: 1G | ||
extraEnv: | ||
OAUTH_CALLBACK_URL: "https://staging.aws-uswest2.pangeo.io/hub/oauth_callback" | ||
singleuser: | ||
profileList: | ||
- display_name: "Staging Pangeo-notebook" | ||
description: "https://github.com/pangeo-data/pangeo-docker-images/tree/master/pangeo-notebook" | ||
kubespawner_override: | ||
image: pangeo/pangeo-notebook:master | ||
- display_name: "Latest Pangeo-notebook" | ||
description: "https://github.com/pangeo-data/pangeo-docker-images/releases" | ||
kubespawner_override: | ||
image: pangeo/pangeo-notebook:latest | ||
- display_name: "Staging Base-notebook" | ||
description: "https://github.com/pangeo-data/pangeo-docker-images/tree/master/base-notebook" | ||
kubespawner_override: | ||
image: pangeo/base-notebook:master | ||
- display_name: "Staging ML-notebook" | ||
description: "https://github.com/pangeo-data/pangeo-docker-images/tree/master/ml-notebook" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think title or description should indicate you get a GPU machine, as that influence how the user may want to manually shut down the pod or so to save some money. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. good call. Maybe "ML Notebook with GPU, please only use if you need it ;)" |
||
kubespawner_override: | ||
image: pangeo/ml-notebook:master | ||
mem_limit: 60G | ||
mem_guarantee: 25G | ||
environment: {'NVIDIA_DRIVER_CAPABILITIES': 'compute,utility'} | ||
tolerations: [{'key': 'nvidia.com/gpu','operator': 'Equal','value': 'present','effect': 'NoSchedule'}] | ||
extra_resource_limits: {"nvidia.com/gpu": "1"} | ||
- display_name: "ICESat-2 Hackweek 2020" | ||
description: "https://github.com/ICESAT-2HackWeek/jupyter-image-2020" | ||
kubespawner_override: | ||
image: uwhackweeks/icesat2:latest | ||
proxy: | ||
https: | ||
hosts: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think applying this resource request will make the toleration automatically be applied by some controller in k8s, but it wont hurt also manually applying the toleration.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are from a merge conflict, but @scottyhq might want to take a look at the comment :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if I understand correctly specifying
extra_resource_limits: {"nvidia.com/gpu": "1"}
automatically setstolerations: [{'key': 'nvidia.com/gpu','operator': 'Equal','value': 'present','effect': 'NoSchedule'}]
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly these settings we're copied over from GCP and we never did two much experimentation to see what was necessary or not. Also things may have changed with more recent AMI versions and CUDA setups. This issue has some additional details jupyterhub/zero-to-jupyterhub-k8s#994 (comment)