-
hi ! Question 1I wonder what are the possible values for the For instance, by default, I have profiles:
jupyterlab:
- display_name: Small Instance
description: Stable environment with 1 cpu / 1 GB ram
default: true
kubespawner_override:
cpu_limit: 1
cpu_guarantee: 1
mem_limit: 1G
mem_guarantee: 1G
image: quansight/qhub-jupyterlab:1abd4efb8428a9d851b18e89b6f6e5ef94854334 I added a new entry with these modifications: - display_name: Larger Instance (Test)
description: Stable environment with 2 cpu / 2 GB ram
kubespawner_override:
cpu_limit: 2
cpu_guarantee: 2
mem_limit: 2G
mem_guarantee: 2G
image: quansight/qhub-jupyterlab:1abd4efb8428a9d851b18e89b6f6e5ef94854334 but jupyterhub throws this when this server profile was spawned:
Question 2Do the values of cpu/mem limits/guarantee are constrained by the image or by the I modified the default values to: google_cloud_platform:
project: <MY-PROJECT>
region: us-central1
zone: us-central1-c
availability_zones:
- us-central1-c
kubernetes_version: 1.14.10-gke.31
node_groups:
general:
instance: n1-standard-2
min_nodes: 1
max_nodes: 1
user:
instance: n1-standard-4
min_nodes: 1
max_nodes: 50
worker:
instance: n1-standard-2
min_nodes: 1
max_nodes: 100 but I don't have a clear understanding of the detailed interactions between the properties of nodes, pods, images, workers, etc ... throughout kubernetes, gcp, jupyterhub, dask... thanks for your help/explanation ! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Anything in https://jupyterhub-kubespawner.readthedocs.io/en/latest/spawner.html
limits/guarantees are Kubernetes terminology. |
Beta Was this translation helpful? Give feedback.
-
I'm closing old discussions in a repo cleanup effort. Feel free to re-open if needed. |
Beta Was this translation helpful? Give feedback.
Anything in https://jupyterhub-kubespawner.readthedocs.io/en/latest/spawner.html
c.KubeSpawner.*
. This should provide you full capabilities to modify the pod spec of the jupyterlab instance.limits/guarantees are Kubernetes terminology.
guarantees
are what the kubernetes scheduler uses to schedule pods. If a given node has 4 GB of RAM and 3 GB is already guaranteed for other pods. A pod requesting a guarentee of1.1 GB
w…