Modifying configuration to user seperate node pool for user jobs
@@ -39,14 +39,18 @@ google_cloud_platform:
user:
instance: n1-standard-2
min_nodes: 0
- max_nodes: 2
- accelerators:
- name: nvidia-tesla-p4
- count: 1
+ max_nodes: 5
worker:
instance: n1-standard-2
min_nodes: 0
max_nodes: 5
+ user-gpu:
+ instance: n1-standard-2
+ min_nodes: 0
+ max_nodes: 2
+ accelerators:
+ - name: nvidia-tesla-p4
+ count: 1
default_images:
jupyterhub: "quansight/qhub-jupyterhub:4c8c28332be1fde32f786c54a5961b5f3d789e16"
@@ -92,6 +96,8 @@ profiles:
cpu_guarantee: 2
mem_limit: 7G
mem_guarantee: 7G
+ node_selector:
+ "cloud.google.com/gke-nodepool": "user-gpu"
extra_resource_limits:
nvidia.com/gpu: 1
