# ix-device-plugin **Repository Path**: majorli6/ix-device-plugin ## Basic Information - **Project Name**: ix-device-plugin - **Description**: IX device plugin是针对天数智芯GPGPU开发的Kubernetes集群设备扩展插件,通过DaemonSet的方式部署到集群,使能Kubernetes集群调度天数智芯GPGPU资源。 - **Primary Language**: Go - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 7 - **Created**: 2024-10-17 - **Last Updated**: 2024-10-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # IX device plugin for Kubernetes ## Overview The IX device plugin is a Daemonset for Kubernetes, which can help to expose the Iluvatar GPU in the Kubernetes cluster. ## Build Before building the IX device plugin, it's mandatory to prepare `Corex SDK`, the default `COREX SDK` path is `/usr/local/corex/`. Make sure `golang >= 1.11` and build the IX device plugin as follows: ```shell make plugin ``` or ```shell make ``` ## Deployment Once the Kubernetes cluster is ready, you can enable GPU support by deploying the following Daemonset: ```shell kubectl create -f ix-device-plugin.yaml ``` ## Example GPU can be exposed to a pod by adding `iluvatar.ai/gpu` to the pod definition, and you can restrict the GPU resource by adding `resources.limits` to the pod definition. Example following: ```shell kubectl create -f corex-example.yaml ``` ## License Copyright (c) 2024 Iluvatar CoreX. All rights reserved. This project has an Apache-2.0 license, as found in the [LICENSE](LICENSE) file.