-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathk8s-ds-device-plugin.yaml
More file actions
48 lines (48 loc) · 1.57 KB
/
k8s-ds-device-plugin.yaml
File metadata and controls
48 lines (48 loc) · 1.57 KB
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
48
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: rise-riscv-runner-device-plugin
namespace: kube-system
labels:
app.kubernetes.io/name: riscv-runner-device-plugin
app.kubernetes.io/component: device-plugin
spec:
selector:
matchLabels:
app.kubernetes.io/name: riscv-runner-device-plugin
app.kubernetes.io/component: device-plugin
updateStrategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: "20%"
template:
metadata:
labels:
app.kubernetes.io/name: riscv-runner-device-plugin
app.kubernetes.io/component: device-plugin
spec:
nodeSelector:
kubernetes.io/arch: riscv64
priorityClassName: system-node-critical
initContainers:
- name: ubuntu-2404-image-cache
image: rg.fr-par.scw.cloud/funcscwriseriscvrunnerappqdvknz9s/riscv-runner:ubuntu-24.04-${TAG}
imagePullPolicy: Always
command: ["true"]
- name: dind-image-cache
image: rg.fr-par.scw.cloud/funcscwriseriscvrunnerappqdvknz9s/riscv-runner:dind-${TAG}
imagePullPolicy: Always
command: ["true"]
containers:
- name: device-plugin
image: rg.fr-par.scw.cloud/funcscwriseriscvrunnerappqdvknz9s/riscv-runner:device-plugin-${TAG}
imagePullPolicy: Always
volumeMounts:
- name: device-plugins
mountPath: /var/lib/kubelet/device-plugins
securityContext:
privileged: false
volumes:
- name: device-plugins
hostPath:
path: /var/lib/kubelet/device-plugins