在Amazon EKS上配置NVIDIA Run:ai GPU切分
AWS托管的一篇第三方实践文章介绍了如何在Amazon EKS上配置NVIDIA Run:ai GPU Fractioning,并使用定制的Amazon Linux 2023镜像。验证示例采用搭载NVIDIA A10G Tensor Core GPU的单台g5.xlarge实例。流程包括建立整卡GPU基线、为每个Pod设置8 GiB显存合约、验证6 GiB分配、拒绝9 GiB分配并检查Pod级指标。该实践未测试故障隔离或计算性能,其他硬件和软件配置仍需进行兼容性检查和验证。
该实践展示了如何通过强制Pod级显存限制和指标,在工作负载显存需求适合时让多个Kubernetes工作负载共享一块GPU。现有证据仅限于G5/A10G配置,生产部署还需要采取额外的隔离措施并开展性能测试。
GPU sharing is not new: Multi-Instance GPU (MIG), time-slicing, and Multi-Process Service (MPS) address different isolation and utilization needs. NVIDIA Run:ai GPU Fractioning builds on MPS with Kubernetes-integrated scheduling, per-Pod memory contracts, enforcement, and metrics.
NVIDIA Run:ai is AI workload orchestration software for Kubernetes. Its GPU Fractioning Operator can help several teams share one or two GPUs on Amazon Elastic Kubernetes Service (Amazon EKS). Notebooks, model evaluations, and small inference services can leave teams waiting even when GPU memory remains available. In this walkthrough’s baseline, the NVIDIA device plugin exposes the single GPU as one nvidia.com/gpu resource, with GPU sharing disabled. Two Pods each requesting nvidia.com/gpu: 1 cannot run concurrently on that node, even when their combined GPU-memory demand fits.
NVIDIA Run:ai GPU Fractioning adds Kubernetes scheduling integration, enforced GPU-memory limits, and per-Pod metrics to software-based sharing. The approach applies to NVIDIA GPUs that meet the GPU Fractioning Operator’s hardware and software requirements, including GPUs without MIG. We use one Amazon Elastic Compute Cloud (Amazon EC2) g5.xlarge instance with an NVIDIA A10G Tensor Core GPU as the validated example. Other configurations require compatibility checks and validation.
#NVIDIA Run:ai GPU Fractioning#Amazon EKS#KAI Scheduler#GPU Fractioning Operator#NVIDIA GPU Operator#NVIDIA A10G Tensor Core GPU#Multi-Process Service