{"id":24308913,"url":"https://github.com/coldzerofear/device-mounter","last_synced_at":"2026-05-06T13:18:25.736Z","repository":{"id":270795735,"uuid":"911476640","full_name":"coldzerofear/device-mounter","owner":"coldzerofear","description":"A hot swappable expansion component for a k8s container device.","archived":false,"fork":false,"pushed_at":"2025-01-25T19:56:00.000Z","size":270,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T20:26:06.630Z","etag":null,"topics":["api-extension","device","gpu","hot-swappable","hotplugin","kubernetes","npu"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coldzerofear.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-03T05:34:40.000Z","updated_at":"2025-01-25T19:56:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"cfa03e0f-72d4-4109-a92f-58c06fca8c5d","html_url":"https://github.com/coldzerofear/device-mounter","commit_stats":null,"previous_names":["coldzerofear/device-mounter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldzerofear%2Fdevice-mounter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldzerofear%2Fdevice-mounter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldzerofear%2Fdevice-mounter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coldzerofear%2Fdevice-mounter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coldzerofear","download_url":"https://codeload.github.com/coldzerofear/device-mounter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242277694,"owners_count":20101545,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-extension","device","gpu","hot-swappable","hotplugin","kubernetes","npu"],"created_at":"2025-01-17T05:11:54.988Z","updated_at":"2026-05-06T13:18:25.704Z","avatar_url":"https://github.com/coldzerofear.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Device Mounter\n\nA hot swappable expansion component for a k8s container device.\n\nDeviceMounter is a kubernetes plugin that can dynamically add or remove device resources running Pods.\n\nThe project is currently underway...\n\n## Project objectives\n\n* Support more types of container devices\n* Prevent device resource leakage caused by slave pods\n* Simplify the configuration of hot swappable pods\n* Support device hot plugging and vGPU expansion for vgpu-manager\n\n## Features\n\n* Supports add or remove Device resources of running Pod without stopping or restarting\n* Compatible with kubernetes scheduler\n* Compatible with kubernetes device plugin\n* Compatible with cgroup v1 and cgroup v2\n\n## Prerequisite \n\n* Kubernetes v1.22+ (other version not tested)\n* Docker / Containerd (other version not tested)\n* runc based container runtime\n* cert-manager (Ensure that certificate manager is installed in the cluster and will be used to distribute self signed certificates)\n\n## Supported devices\n\n* Nvidia GPU device plugin: Support NVIDIA native device resource scheduling\n\u003e `nvidia-container-runtime` (must be configured as default runtime)\n\n~~* Volcano VGPU device plugin: VGPU hot mount implementation supporting Volcano scheduler~~\n\u003e `nvidia-container-runtime` (must be configured as default runtime)\n\n* Ascend NPU device plugin: Under development\n\u003e `ascend-docker-runtime` (must be configured as default runtime)\n\n\n## Deploy\n\n* Installing Cert Manager. [GitHub](https://github.com/cert-manager/cert-manager)\n\n* label nodes with `device-mounter=enable`\n\n```shell\nkubectl label node \u003cnodename\u003e device-mounter-enable=enable\n```\n\n* deploy\n\n```bash\nkubectl apply -f deploy/device-mounter-apiserver.yaml\nkubectl apply -f deploy/device-mounter-daemonset.yaml\n```\n\n* uninstall\n\n```shell\nkubectl delete -f deploy/device-mounter-apiserver.yaml\nkubectl delete -f deploy/device-mounter-daemonset.yaml\n```\n\n* generate grpc api\n\n```shell\n protoc --go_out=. --go-grpc_out=. pkg/api/api.proto\n```\n\n## Quick Start\n\nNvidia GPU Device Plugin. See [Nvidia_GPU Using Help](docs/guide/NvidiaGPU.md)\n\n~~Volcano vGPU Device Plugin. See [Volcano_VGPU Using Help](docs/guide/VolcanoVGPU.md)~~\n\nAscend NPU Device Plugin. See [Ascend_NPU Using Help](docs/guide/AscendNPU.md)\n\n## FAQ\n\nSee  [FAQ.md](docs/guide/FAQ.md)\n\n## License\n\nThis project is licensed under the Apache-2.0 License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoldzerofear%2Fdevice-mounter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoldzerofear%2Fdevice-mounter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoldzerofear%2Fdevice-mounter/lists"}