forked from svcavallar/jetson-stats-grafana-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdeploy.yaml
47 lines (47 loc) · 1.22 KB
/
deploy.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: jetson-exporter
namespace: monitoring
spec:
selector:
matchLabels:
app: jetson-exporter
template:
metadata:
labels:
app: jetson-exporter
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: beta.kubernetes.io/os
operator: In
values:
- linux
- key: beta.kubernetes.io/arch
operator: In
values:
- arm64
containers:
- image: basefly/jetson-exporter:v0.1
name: jetson-exporter
securityContext:
privileged: true
volumeMounts:
- mountPath: /run/jtop.sock
name: jtop-sock
dnsPolicy: ClusterFirst
hostNetwork: true
restartPolicy: Always
schedulerName: default-scheduler
terminationGracePeriodSeconds: 30
tolerations:
- operator: Exists
volumes:
- hostPath:
path: /run/jtop.sock
type: Socket
name: jtop-sock