An inference platform packs many small models onto A100 40GB cards and partitions each card with Multi-Instance GPU into seven 1g.5gb instances under the device plugin's mixed MIG strategy. A team wants each of their lightweight model pods scheduled onto exactly one of these smallest slices. Which container resource request correctly targets a single 1g.5gb MIG instance?
- ASet nvidia.com/mig-1g.5gb to 1 in the container resource limits, because the device plugin advertises each MIG profile as its own fully qualified extended resource name. Correct
- BSet nvidia.com/gpu to 1 and add a node selector for the mixed MIG strategy, because the standard GPU resource name resolves to the smallest free slice when MIG is enabled.
- CSet nvidia.com/mig to 1 and label the pod with the profile 1g.5gb, because the device plugin reads the profile label to select the slice size at bind time.
- DSet the container memory limit to 5Gi alongside a request for nvidia.com/gpu, because the device plugin maps the requested GPU memory limit onto the matching MIG instance size.
Why A is correct: Correct: under the mixed MIG strategy the device plugin exposes each profile as a distinct resource such as nvidia.com/mig-1g.5gb, so requesting one unit of that exact resource name binds the pod to a single slice of that size.
Why B is wrong: Tempting because nvidia.com/gpu is the familiar GPU request, but under the mixed MIG strategy whole-GPU and slice resources are advertised under distinct names, so requesting nvidia.com/gpu does not target a specific MIG profile and will not match the 1g.5gb slices.
Why C is wrong: Tempting because it pairs a MIG-flavoured resource with a profile label, but there is no generic nvidia.com/mig resource and the device plugin selects slices by the fully qualified resource name rather than by a separate profile label.
Why D is wrong: Tempting because 5Gi matches the slice memory, but Kubernetes memory limits govern system RAM and are never interpreted as a GPU partition selector, so this would not bind the pod to a 1g.5gb instance.