++dmidecode ++k8s ++hwraid
This commit is contained in:
parent
4ca3bcee58
commit
aacd068743
2 changed files with 41 additions and 1 deletions
|
@ -7,6 +7,7 @@ RUN wget -O - https://hwraid.le-vert.net/debian/hwraid.le-vert.net.gpg.key | apt
|
|||
RUN echo deb http://hwraid.le-vert.net/debian buster main | tee /etc/apt/sources.list.d/hwraid.list
|
||||
RUN apt-get update && apt search hpacucli
|
||||
RUN apt-get update && apt-get install -y \
|
||||
dmidecode \
|
||||
hpacucli \
|
||||
ipmitool \
|
||||
megacli \
|
||||
|
|
41
README.md
41
README.md
|
@ -5,7 +5,10 @@ It usually needs to run in privileged mode.
|
|||
|
||||
The source repository for this container is
|
||||
on
|
||||
[code.ungleich.ch](https://code.ungleich.ch/ungleich-public/ungleich-hardware).
|
||||
[code.ungleich.ch](https://code.ungleich.ch/ungleich-public/ungleich-hardware). This
|
||||
image uses significant content from the
|
||||
[hwraid](https://hwraid.le-vert.net/) page that we would like to thank
|
||||
for its years long contribution.
|
||||
|
||||
You can use this image from
|
||||
|
||||
|
@ -16,6 +19,7 @@ You can use this image from
|
|||
## Included tools
|
||||
|
||||
```
|
||||
dmidecode
|
||||
hdparm
|
||||
hpacucli
|
||||
megacli
|
||||
|
@ -23,8 +27,43 @@ megaclisas-status
|
|||
stress-ng
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
### Kubernetes
|
||||
|
||||
To enable access to devices and give permission to the pod to use it,
|
||||
you could use:
|
||||
|
||||
```
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: ungleich-hardware
|
||||
spec:
|
||||
containers:
|
||||
- name: ungleich-hardware
|
||||
image: harbor.ungleich.svc.p10.k8s.ooo/ungleich-public/ungleich-hardware:0.0.1
|
||||
args:
|
||||
- sleep
|
||||
- "1000000"
|
||||
volumeMounts:
|
||||
- mountPath: /dev
|
||||
name: dev
|
||||
securityContext:
|
||||
privileged: true
|
||||
volumes:
|
||||
- name: dev
|
||||
hostPath:
|
||||
path: /dev
|
||||
```
|
||||
|
||||
|
||||
## Changelog / Tags
|
||||
|
||||
### 0.0.2 (2022-01-15)
|
||||
|
||||
* Added dmidecode
|
||||
|
||||
### 0.0.1 (2022-01-15)
|
||||
|
||||
* Initial release
|
||||
|
|
Loading…
Reference in a new issue