Kubeflow: jupyter resource limits?

Created on 14 Jun 2019  ·  4Comments  ·  Source: kubeflow/kubeflow

We could specify the total amount of resource(CPU/mem) that should reserve when create a notebook server, but can I limit the maximum resources the notebook server use? haven't figure out how to do this

kinquestion

All 4 comments

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

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

+1

Looking at the StatefulSet for my Jupyter Server created using KubeFlow, I noticed that Resource Requests were configured, but there were no Resource Limits.

@Jonuknownothingsnow I figured it out, you can specify limits on your server by filling in the Extra Resources (the name is very misleading, in fact it is the resources to limit).

For example, enter in the value
{"cpu": "500m","memory": "1Gi"}
as an Extra Resource in order to limit your server cpu and memory.

@abbyearnin tks, I guess maybe I should just use jupyterhub on kubernetes and wait the kubeflow 1.0 comeout 🤔

Was this page helpful?
0 / 5 - 0 ratings