{"repo":"ROCm/k8s-device-plugin","free":true,"listed":false,"github":"https://github.com/ROCm/k8s-device-plugin","clone":"git clone https://github.com/ROCm/k8s-device-plugin.git","description":"Kubernetes (k8s) device plugin to enable registration of AMD GPU to a container cluster","language":"Go","stars":392,"topics":["kubernetes","kubernetes-device-plugins","k8s","rocm"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"AMD GPU Device Plugin for Kubernetes Introduction This is a [Kubernetes][k8s] [device plugin][dp] implementation that enables the registration of AMD GPU in a container cluster for compute workload. With the appropriate hardware and this plugin deployed in your Kubernetes cluster, you will be able to run jobs that require AMD GPU. This plugin is required by tools such as the AMD GPU Operator to expose AMD GPUs as schedulable resources. More information about [ROCm][rocm]. Prerequisites [ROCm capable machines][sysreq] [kubeadm capable machines][kubeadm] (if you are using kubeadm to deploy your k8s cluster) [ROCm kernel][rock] ([Installation guide][rocminstall]) or latest AMD GPU Linux driver ([Installation guide][amdgpuinstall]) A [Kubernetes deployment][k8sinstall] If device health checks are enabled, the pods must be allowed to run in privileged mode (for example the --allow-privileged=true flag for kube-apiserver), in order to access /dev/kfd Limitations This plugin targets Kubernetes v1.18+. Deployment The device plugin needs to be run on all the nodes that are equipped with AMD GPU. The simplest way of doing so is to create a Kubernetes [DaemonSet][ds], which runs a copy of a pod on all (or some) Nodes in the cluster. We have a pre-built Docker image on [DockerHub][dhk8samdgpudp] that you can use for your DaemonSet. This repository also has a pre-defined yaml file named k8s-ds-amdgpu-dp.yaml . You can create a DaemonSet in your Kubernetes cluster by running this command: ","default_branch":null,"files":null,"tree":[],"storefront":"/r/ROCm","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ROCm/k8s-device-plugin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}