Unanswered
Hey, How Can We Control The Pod Of Pipelinecontroller Not Use The Gpu? According To The Documentation, The
Hey @<1726047624538099712:profile|WorriedSwan6> , the basePodTemplate
sections configures the default base template for all pods spawned by the Agent.
If you don't want every Task (or Pod) to use the same requests/limits, one thing you could try is to set up multiple queues in the Agent.
Each queue can then have an override of the Pod template.
So, you can try removing the nvidia.com/gpu : "4"
from the root basePodTemplate
and add a section like this in the values instead:
agentk8sglue:
createQueues: true
queues:
myQueueWith4GPUs:
templateOverrides:
resources:
requests:
nvidia.com/gpu: "4"
limits:
nvidia.com/gpu: "4"
When you want a Task to use the 4 slices GPU, you simply need to enqueue it on this myQueueWith4GPUs
queue, otherwise it won't have the nvidia.com/gpu : "4"
resources
52 Views
0
Answers
3 months ago
3 months ago