What Can I Get You? An Introduction to Dynamic Resource Allocation - Freddy Rolland & Adrian Chiris
Channel: CNCF [Cloud Native Computing Foundation]
Date: 2023-06-25

What Can I Get You? An Introduction to Dynamic Resource Allocation - Freddy Rolland & Adrian Chiris, NVIDIA

Resource allocation is an essential aspect of managing workloads in Kubernetes. In addition to CPU and memory resources, Kubernetes also supports the allocation of specialized hardware like GPUs and Network resources.

Dynamic resource allocation (DRA) is a new API in Kubernetes for requesting resources.
It allows 3rd-party developers to expose, configure and schedule resources to end-users in a more flexible manner. Moving away from the “count” interface for requesting access to resources (e.g. "nvidia.com/gpu: 3"), DRA provides an API more similar to storage PVC (Persistent Volume Claim) and StorageClass.

In this talk, you will learn about the existing resources allocation methods and their limitations. We will discuss the DRA objects and how to use them, with some examples from the NVIDIA GPU DRA driver. Finally, we will demonstrate what is needed in order to build your own resource driver for DRA, including existing Kubernetes helper libraries.