End User Self Service Access to k8s Namespaces with Shared GPUs - Rafay Product Documentation

Overview

This document outlines the technical design for enabling self-service access to Kubernetes namespaces backed by shared GPU resources. The primary goal is to empower end users—such as data scientists, ML engineers, and application developers—to independently deploy and manage workloads that require GPU acceleration, while maintaining governance, security, and efficient resource utilization.

Design

In this solution, every end user will get access to a Kubernetes namespace via self-service. The namespace will be automatically configured with access to GPU resources (either time sliced or MIG).

GPU Sharing Strategies

To accommodate a variety of GPU workloads and maximize hardware efficiency, the platform will support two GPU sharing strategies:

  1. Time-Sliced GPUs:
    Enabled using the Nvidia GPU Operator, this approach allows multiple pods to share a single physical GPU concurrently, with access managed at the time-slice level by the NVIDIA driver. This is ideal for lightweight or bursty GPU workloads.

  2. Multi-Instance GPU (MIG):
    For compatible NVIDIA GPUs, MIG partitions the device into multiple hardware-isolated instances, each with dedicated compute, memory, and cache resources. This ensures strong performance isolation and is suited for more predictable or latency-sensitive workloads.

Administrators retain control over resource quotas, isolation policies, and access boundaries through Kubernetes RBAC, namespace-level limits, and admission controllers. Users interact with GPU resources via a streamlined self-service portal or GitOps workflows, abstracting infrastructure complexity and ensuring compliance with organizational policies.

End User Benefits

The solution is designed to offer a frictionless experience for end users, ensuring they can access and utilize GPU resources without requiring deep platform knowledge or workflow changes. Two primary benefits enable this seamlessness:

Seamless Access via Self-Service

End users gain access to GPU-enabled Kubernetes namespaces through a self-service model—either via Rafay's Self Service portal. Once access is provisioned:

This approach lowers the barrier to entry for AI/ML practitioners and speeds up experimentation and model deployment in shared environments.

No Changes Required to Kubernetes YAML

To further reduce friction, the solution abstracts away the complexity of GPU resource management from end users. Specifically:

As a result, users can continue to use familiar YAML structures and deployment workflows, while still benefiting from backend GPU scheduling—whether through time-sliced access or MIG-backed isolation.