Node selector support kernels #1161
Replies: 3 comments 1 reply
-
Hi @amit-chandak-unskript - thank you for your question. This kind of customization would likely need to be expressed in the kernel-pod.yaml.j2 script with possible changes to launch_kubernetes.py - which is probably what you were expecting. The process-proxies currently leave the "provisioning" to whatever is used to launch the pod. Today, this is completely script based, primarily to enable these kinds of customizations. If there's a way to add this node selector functionality such that, by default, it's not in use or all nodes are available, it would be a much-appreciated contribution that we can document how users can easily achieve this - since this is functionality that would be beneficial to many. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Thanks @kevin-bates for the quick response. Few follow up questions:
|
Beta Was this translation helpful? Give feedback.
-
thanks @kevin-bates. Yes, the nodeselector will be the same as EG and same for each kernel. |
Beta Was this translation helpful? Give feedback.
-
Hi @kevin-bates , we want to have dedicated K8s nodes for running EG and kernels. NodeSelector is the way to achieve that, we have modified the deployment for EG to accomplish it, however, how can i pass that nodeSelector when launching the kernel pods? Was looking at launch_kubernetes.py to pass this, but wanted to understand how to make EG pass this nodeSelector map to the launch_kubernetes. Was wondering if there is a way this is already supported, before i start digging into more.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions