Kubeflow: [v0.5.1] Best practice setting notebook tolerations / node selector

Created on 22 May 2019  路  3Comments  路  Source: kubeflow/kubeflow

kubeflow version: v0.5.1

Hi, I want to create notebook instances by notebook-controller via jupyter-web-ui, which I prefer to schedule them on special node type, from a custom node-pool for some reasons:

  • High CPU/Memory machine needed
  • I like it to be preemptible

In my use case, I have a special node-pool n32-highmem-preemptible-autoscale-0-1, then I create a notebook server that allocate 30Gi CPU / 200Gi Memory, assume the node pool will scale up to 1 node, then I remove the notebook server from the web UI, assume the node pool will scale down to 0. So far this use case works, but I think I still need to set the constrains, because I don't want any other pod to schedule on this node.

I'm aware that it's practicable because I've tried using preemptible vm on pipeline, base on the documentation: https://www.kubeflow.org/docs/pipelines/preemptible/

Any recommendation or best practices will be awesome, thanks for your time!

kinquestion

Most helpful comment

Issue-Label Bot is automatically applying the label community/question to this issue, with a confidence of 0.86. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

All 3 comments

Issue-Label Bot is automatically applying the label community/question to this issue, with a confidence of 0.86. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

One option would be to create them via kubectl and not the UI by creating notebook resources. Then you can specify the full podtemplate spec.

Thanks for the reply. For now I'll try what your suggested as a workaround.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andreyvelich picture andreyvelich  路  4Comments

naseemkullah picture naseemkullah  路  4Comments

authenticfake picture authenticfake  路  4Comments

hitesh1907nayyar picture hitesh1907nayyar  路  4Comments

sh0gg0th picture sh0gg0th  路  3Comments