https://github.com/zwwhdls/node-device-plugin
https://github.com/zwwhdls/node-device-plugin
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/zwwhdls/node-device-plugin
- Owner: zwwhdls
- License: apache-2.0
- Created: 2023-03-19T13:21:10.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-22T04:02:54.000Z (over 1 year ago)
- Last Synced: 2025-01-23T20:36:26.722Z (over 1 year ago)
- Language: Go
- Size: 12.4 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-device-plugin
## Introduction
A device plugin for Kubernetes to expose fuse devices into pod. More details can be found in [How to use FUSE in Non-privileged Pod](https://blog.hdls.me/16792090191128.html).
## Install
```bash
kubectl apply -f https://raw.githubusercontent.com/zwwhdls/node-device-plugin/refs/heads/main/deploy/daemonset.yaml
```
## Usage
```yaml
apiVersion: v1
kind: Pod
metadata:
name: fuse
spec:
containers:
- name: test
image: centos
command: [ "sleep", "infinity" ]
resources:
limits:
hdls.me/fuse: "1"
requests:
hdls.me/fuse: "1"
```