Skip to content
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

add toleration to jupyterlab chart #59

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/jupyter-lab/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "0.1"
description: A Helm chart for Jupyter Lab
name: lab
version: 1.0.2
version: 1.0.4
maintainers:
- name: Team Whale
email: [email protected]
6 changes: 6 additions & 0 deletions apps/jupyter-lab/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ spec:
mountPath: /home/jovyan/work/{{ $key }}
{{- end }}
terminationGracePeriodSeconds: 30
{{ if index .Values.flavor.limits "nvidia.com/gpu" }}
tolerations:
- key: nvidia.com/gpu
effect: NoSchedule
operator: Exists
{{ end }}
dnsPolicy: ClusterFirst
volumes:
- name: jupyterconf
Expand Down