Skip to content
프로젝트

소개

NVIDIA GPU Operator는 Kubernetes에서 GPU를 생성하고 구성하며 관리합니다

시스템 및 인프라

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
-1
in 7 days
+4
in 15 days
+14
in 1 month
+35

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

license pipeline status coverage report

NVIDIA GPU Operator

nvidia-gpu-operator

Kubernetes provides access to special hardware resources such as NVIDIA GPUs, NICs, Infiniband adapters and other devices through the device plugin framework. However, configuring and managing nodes with these hardware resources requires configuration of multiple software components such as drivers, container runtimes or other libraries which are difficult and prone to errors. The NVIDIA GPU Operator uses the operator framework within Kubernetes to automate the management of all NVIDIA software components needed to provision GPU. These components include the NVIDIA drivers (to enable CUDA), Kubernetes device plugin for GPUs, the NVIDIA Container Runtime, automatic node labelling, DCGM based monitoring and others.

Audience and Use-Cases

The GPU Operator allows administrators of Kubernetes clusters to manage GPU nodes just like CPU nodes in the cluster. Instead of provisioning a special OS image for GPU nodes, administrators can rely on a standard OS image for both CPU and GPU nodes and then rely on the GPU Operator to provision the required software components for GPUs.

Note that the GPU Operator is specifically useful for scenarios where the Kubernetes cluster needs to scale quickly - for example provisioning additional GPU nodes on the cloud or on-prem and managing the lifecycle of the underlying software components. Since the GPU Operator runs everything as containers including NVIDIA drivers, the administrators can easily swap various components - simply by starting or stopping containers.

Quick Start

This section provides a quick guide for deploying the GPU Operator with the data center driver.

Make sure your Kubernetes cluster meets the prerequisites and is listed on the platform support page.

Step 1: Add the NVIDIA Helm repository

helm repo add nvidia https://helm.ngc.nvidia.com/nvidia \
    && helm repo update

Step 2: Deploy GPU Operator

helm install --wait --generate-name \
    -n gpu-operator --create-namespace \
    nvidia/gpu-operator

After installation, the GPU Operator and its operands should be up and running.

Note: To deploy the GPU Operator on OpenShift, follow the instructions in the official documentation.

Operator high availability

Helm installations run one operator replica by default. Increase operator.replicaCount to run multiple replicas with leader election. Unless explicitly disabled, the chart also adds soft pod anti-affinity and a PodDisruptionBudget (PDB) requiring at least one available replica.

OLM installations continue to deploy one operator replica and do not include the Helm chart's PDB or pod anti-affinity. Helm values do not configure OLM installations. Administrators can manually increase replicas and add anti-affinity through the installed ClusterServiceVersion (CSV), then create a PDB separately, following deployments/gpu-operator/templates/poddisruptionbudget.yaml.

Product Documentation

For information on platform support and getting started, visit the official documentation repository.

Roadmap

  • Support the latest NVIDIA Data Center GPUs, systems, and drivers.
  • Support RHEL 10.
  • Support KubeVirt with Ubuntu 24.04.
  • Promote the NVIDIADriver CRD to General Availability (GA).
  • Integrate NVIDIA’s DRA Driver for GPUs as a managed component of the GPU Operator.

Webinar

How to easily use GPUs on Kubernetes

Contributions

Read the document on contributions. Contributions must adhere to the Code of Conduct.

Support and Getting Help

Please start a discussion on the GitHub project for any questions. You can also join our community Slack. Your feedback is appreciated.

  • Slack channel: #gpu-operator in the DSX AI Factory workspace
  • Mailing list: [email protected] for announcements and meeting invites
  • Community meeting: monthly, public and recorded. Time, notes and recordings: DSX AI Factory communities

관련 프로젝트 살펴보기

불러오는 중…