File tree Expand file tree Collapse file tree 5 files changed +142
-0
lines changed Expand file tree Collapse file tree 5 files changed +142
-0
lines changed Original file line number Diff line number Diff line change 1+ # Patterns to ignore when building packages.
2+ # This supports shell glob matching, relative path matching, and
3+ # negation (prefixed with !). Only one pattern per line.
4+ .DS_Store
5+ # Common VCS dirs
6+ .git/
7+ .gitignore
8+ .bzr/
9+ .bzrignore
10+ .hg/
11+ .hgignore
12+ .svn/
13+ # Common backup files
14+ *.swp
15+ *.bak
16+ *.tmp
17+ *~
18+ # Various IDEs
19+ .project
20+ .idea/
21+ *.tmproj
22+ .vscode/
23+ # OWNERS file for Kubernetes
24+ OWNERS
25+ # helm-docs templates
26+ *.gotmpl
Original file line number Diff line number Diff line change 1+ apiVersion : v2
2+ name : smarter-device-manager
3+ description : smarter-device-manager chart for SMARTER edge devices
4+ home : https://gitlab.com/smarter-project/smarter-device-manager/helm
5+ version : 0.0.2
6+ appVersion : v1.20.11
7+ kubeVersion : " >=1.16.0-0"
8+ keywords :
9+ - kubernetes
10+ - device
11+ - hardware
12+ sources :
13+ - https://gitlab.com/smarter-project/smarter-device-manager
14+ # dependencies:
15+ # - name: smarter-common
16+ # repository: https://gitlab.com/smarter-project/documentation
17+ # version: 0.0.1
18+
19+ annotations :
20+ artifacthub.io/changes : |
21+ - Fix template
22+ - Add annotations
23+ artifacthub.io/license : Apache-2.0
24+ artifacthub.io/maintainers : |
25+ - name: Alexandre Ferreira
26+ 27+ artifacthub.io/prerelease : " false"
28+ artifacthub.io/signKey : |
29+ fingerprint: 82AD709FEC4ECA4C84B093889BDC9DE410CFC23B
30+ url: https://keybase.io/alexandref75/pgp_keys.asc
Original file line number Diff line number Diff line change 1+ # smarter-device-manager
2+
3+ ## TL;DR
4+
5+ ``` console
6+ helm install smarter-device-manager chart
7+ ```
8+
Original file line number Diff line number Diff line change 1+ apiVersion : apps/v1
2+ kind : DaemonSet
3+ metadata :
4+ name : {{ .Values.application.appName }}
5+ namespace : {{ .Values.application.namespace }}
6+ labels :
7+ name : {{ .Values.application.appName }}
8+ role : agent
9+ spec :
10+ selector :
11+ matchLabels :
12+ name : {{ .Values.application.appName }}
13+ updateStrategy :
14+ type : RollingUpdate
15+ template :
16+ metadata :
17+ labels :
18+ name : {{ .Values.application.appName }}
19+ annotations :
20+ node.kubernetes.io/bootstrap-checkpoint : " true"
21+ spec :
22+ nodeSelector :
23+ smarter-device-manager : enabled
24+ tolerations :
25+ - key : " smarter.type"
26+ operator : " Equal"
27+ value : " edge"
28+ effect : " NoSchedule"
29+ priorityClassName : " system-node-critical"
30+ hostname : {{ .Values.application.appName }}
31+ hostNetwork : true
32+ dnsPolicy : ClusterFirstWithHostNet
33+ containers :
34+ - name : {{ .Values.application.appName }}
35+ image : {{ .Values.image.repository }}:{{ default .Chart.AppVersion .Values.image.tag }}
36+ imagePullPolicy : {{ .Values.pullPolicy }}
37+ securityContext :
38+ allowPrivilegeEscalation : false
39+ capabilities :
40+ drop : ["ALL"]
41+ resources :
42+ limits :
43+ cpu : 100m
44+ memory : 15Mi
45+ requests :
46+ cpu : 10m
47+ memory : 15Mi
48+ volumeMounts :
49+ - name : device-plugin
50+ mountPath : /var/lib/kubelet/device-plugins
51+ - name : dev-dir
52+ mountPath : /dev
53+ - name : sys-dir
54+ mountPath : /sys
55+ volumes :
56+ - name : device-plugin
57+ hostPath :
58+ path : /var/lib/kubelet/device-plugins
59+ - name : dev-dir
60+ hostPath :
61+ path : /dev
62+ - name : sys-dir
63+ hostPath :
64+ path : /sys
65+ terminationGracePeriodSeconds : 30
66+
Original file line number Diff line number Diff line change 1+ #
2+
3+ application :
4+ namespace : smarter
5+ appName : smarter-device-manager
6+
7+ image :
8+ repository : registry.gitlab.com/arm-research/smarter/smarter-device-manager
9+ # repository: registry.gitlab.com/smarter-project/smarter-device-manager
10+ # @default -- chart.appVersion
11+ tag : " "
12+ pullPolicy : IfNotPresent
You can’t perform that action at this time.
0 commit comments