7 Commits

Author SHA1 Message Date
Eric Van Hensbergen
177f2a1d77 Update README.md
Add artifact hub badge

Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>

Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
2024-07-28 09:28:22 -05:00
Alexandre Peixoto Ferreira
4929d30fa9 Fix yaml for the new tag (#11)
Signed-off-by: Alexandre Peixoto Ferreira <alexandref75@gmail.com>
2024-07-28 09:18:48 -05:00
Alexandre Peixoto Ferreira
3418560744 Fix documentation for k3s/k8s usage of yaml files
Signed-off-by: Alexandre Peixoto Ferreira <alexandre.ferreira@arm.com>
2023-11-01 09:47:28 -05:00
Alexandre Peixoto Ferreira
6ebcbefa25 Fix CVE-2022-32149, just need recompile (#10)
Signed-off-by: Alexandre Peixoto Ferreira <alexandref75@gmail.com>

Signed-off-by: Alexandre Peixoto Ferreira <alexandref75@gmail.com>
2022-11-22 08:42:28 -06:00
Alexandre Peixoto Ferreira
51fb12e8a0 Update chart version (#9)
Signed-off-by: Alexandre Peixoto Ferreira <alexandref75@gmail.com>
2022-11-16 14:54:45 -06:00
Alexandre Peixoto Ferreira
7effe1975a Remove last reference to gitlab (#8)
Signed-off-by: Alexandre Peixoto Ferreira <alexandref75@gmail.com>
2022-11-16 13:40:46 -06:00
Josh Minor
e386d5d7e0 Fix secrets in helm ci (#7)
Signed-off-by: Josh Minor <josh.minor@arm.com>
2022-11-09 09:32:08 -06:00
11 changed files with 15 additions and 13 deletions

View File

@@ -1,5 +1,7 @@
# Enables k8s containers to access devices (linux device drivers) available on nodes # Enables k8s containers to access devices (linux device drivers) available on nodes
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/smarter-device-manager)](https://artifacthub.io/packages/search?repo=smarter-device-manager)
## Motivation ## Motivation
In the IoT world, interaction with the external environment is the reason of existence. In the IoT world, interaction with the external environment is the reason of existence.
@@ -137,7 +139,7 @@ More than one smarter-device-manager can be used in a single node if required if
## Enabling Access ## Enabling Access
A few examples of yaml files are provided that enable the smarter-device-manager to be deployed in a node. The file smarter-device-management-pod-<>.yaml deploys a single pod on a node; this setup is useful for testing. The file smarter-device-manager-<>.yaml provides a deamonSet configuration that enables pods to be deployed in any node that contains the "smarter-device-manager=enabled" label. The following command inserts the daemonSet in Kubernetes. k3s and k8s put the unix sockets for the device plugin in different directories on the node so the \*-k8s.yaml files should be used on Kubernetes and the \*-k3s.yaml should be used on k3s. A few examples of yaml files are provided that enable the smarter-device-manager to be deployed in a node. The file smarter-device-management-pod-<>.yaml deploys a single pod on a node; this setup is useful for testing. The file smarter-device-manager-<>.yaml provides a deamonSet configuration that enables pods to be deployed in any node that contains the "smarter-device-manager=enabled" label. The following command inserts the daemonSet in Kubernetes. Use the k8s for k8s/k3s/k0s unless using k3s version lower than 1.18. K3s smaller then 1.18 put the unix sockets for the device plugin in different directories on the node so the \*-k3s.yaml files should be used on k3s for those versions.
``` ```
kubectl apply -f smarter-device-manager.yaml kubectl apply -f smarter-device-manager.yaml

View File

@@ -2,8 +2,8 @@ apiVersion: v2
name: smarter-device-manager name: smarter-device-manager
description: smarter-device-manager chart for SMARTER edge devices description: smarter-device-manager chart for SMARTER edge devices
home: https://getsmarter.io home: https://getsmarter.io
version: 0.0.7 version: 0.0.9
appVersion: v1.20.11 appVersion: v1.20.12
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
keywords: keywords:
- kubernetes - kubernetes
@@ -11,7 +11,7 @@ keywords:
- hardware - hardware
sources: sources:
- https://github.com/smarter-project/smarter-device-manager - https://github.com/smarter-project/smarter-device-manager
icon: https://gitlab.com/uploads/-/system/group/avatar/59012546/ARM1636_Project_Logo_ST2_RGB_V1.png icon: https://github.com/smarter-project/documentation/raw/main/ARM1636_Project_Logo_ST2_RGB_V1.png
annotations: annotations:
artifacthub.io/changes: | artifacthub.io/changes: |
- Fix template - Fix template

View File

@@ -15,7 +15,7 @@ spec:
nodeName: smarter-jetson-xavier-4bcc2584 nodeName: smarter-jetson-xavier-4bcc2584
containers: containers:
- name: smarter-device-manager - name: smarter-device-manager
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.11 image: ghcr.io/smarter-project/smarter-device-manager:v1.20.12
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false

View File

@@ -15,7 +15,7 @@ spec:
nodeName: <replace with node to run> nodeName: <replace with node to run>
containers: containers:
- name: smarter-device-manager - name: smarter-device-manager
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.11 image: ghcr.io/smarter-project/smarter-device-manager:v1.20.12
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false

View File

@@ -15,7 +15,7 @@ spec:
nodeName: <replace with node to run> nodeName: <replace with node to run>
containers: containers:
- name: smarter-device-manager - name: smarter-device-manager
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.11 image: ghcr.io/smarter-project/smarter-device-manager:v1.20.12
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false

View File

@@ -34,7 +34,7 @@ spec:
dnsPolicy: ClusterFirstWithHostNet dnsPolicy: ClusterFirstWithHostNet
containers: containers:
- name: smarter-device-manager - name: smarter-device-manager
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.11 image: ghcr.io/smarter-project/smarter-device-manager:v1.20.12
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false

View File

@@ -34,7 +34,7 @@ spec:
dnsPolicy: ClusterFirstWithHostNet dnsPolicy: ClusterFirstWithHostNet
containers: containers:
- name: smarter-device-manager - name: smarter-device-manager
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.11 image: ghcr.io/smarter-project/smarter-device-manager:v1.20.12
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false

View File

@@ -34,7 +34,7 @@ spec:
dnsPolicy: ClusterFirstWithHostNet dnsPolicy: ClusterFirstWithHostNet
containers: containers:
- name: smarter-device-manager - name: smarter-device-manager
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.11 image: ghcr.io/smarter-project/smarter-device-manager:v1.20.12
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false

View File

@@ -34,7 +34,7 @@ spec:
dnsPolicy: ClusterFirstWithHostNet dnsPolicy: ClusterFirstWithHostNet
containers: containers:
- name: smarter-device-manager - name: smarter-device-manager
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.11 image: ghcr.io/smarter-project/smarter-device-manager:v1.20.12
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false

View File

@@ -34,7 +34,7 @@ spec:
dnsPolicy: ClusterFirstWithHostNet dnsPolicy: ClusterFirstWithHostNet
containers: containers:
- name: smarter-device-manager - name: smarter-device-manager
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.11 image: ghcr.io/smarter-project/smarter-device-manager:v1.20.12
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false

View File

@@ -34,7 +34,7 @@ spec:
dnsPolicy: ClusterFirstWithHostNet dnsPolicy: ClusterFirstWithHostNet
containers: containers:
- name: smarter-device-manager - name: smarter-device-manager
image: ghcr.io/smarter-project/smarter-device-manager:v1.20.11 image: ghcr.io/smarter-project/smarter-device-manager:v1.20.12
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false