...
1apiVersion: apps/v1
2kind: DaemonSet
3metadata:
4 name: pipewire
5 labels:
6 app.kubernetes.io/instance: pipewire-daemonset
7 app.kubernetes.io/name: pipewire
8 device-system.edge.ncr.com/injection: "enabled"
9spec:
10 selector:
11 matchLabels:
12 app.kubernetes.io/name: pipewire
13 template:
14 metadata:
15 labels:
16 app.kubernetes.io/name: pipewire
17 annotations:
18 kubectl.kubernetes.io/default-container: alpine-pipewire
19 spec:
20 serviceAccountName: pipewire
21 priorityClassName: edge-p2-critical-services
22 nodeSelector:
23 node.ncr.com/class: touchpoint
24 containers:
25 - name: alpine-pipewire
26 image: bzl://cmd/sds/audio/pipewire:container_push
27 env:
28 - name: XDG_RUNTIME_DIR
29 value: "/tmp/xdg_runtime"
30 - name: HOSTNAME
31 valueFrom:
32 fieldRef:
33 fieldPath: spec.nodeName
34 resources:
35 limits:
36 device-system.class.edge.ncr.com/sound: "1"
37 requests:
38 device-system.class.edge.ncr.com/sound: "1"
39 volumeMounts:
40 - name: xdg-runtime
41 readOnly: false
42 mountPath: /tmp/xdg_runtime
43 imagePullPolicy: IfNotPresent
44 volumes:
45 - name: xdg-runtime
46 hostPath:
47 type: DirectoryOrCreate
48 path: /tmp/xdg_runtime
49 imagePullSecrets:
50 - name: edge-docker-pull-secret
View as plain text