From 65d0c5632504c2c512a08740e2226576d22155cc Mon Sep 17 00:00:00 2001 From: Jordi Deu-Pons Date: Mon, 9 Oct 2023 18:56:58 +0200 Subject: [PATCH] Add missing manifest Signed-off-by: Jordi Deu-Pons --- .gitignore | 2 +- manifests/k8s-fuse-plugin.yml | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 manifests/k8s-fuse-plugin.yml diff --git a/.gitignore b/.gitignore index 2298296..0693c5e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ .idea/ -k8s-fuse-plugin* \ No newline at end of file +k8s-fuse-plugin-linux* diff --git a/manifests/k8s-fuse-plugin.yml b/manifests/k8s-fuse-plugin.yml new file mode 100644 index 0000000..9f33327 --- /dev/null +++ b/manifests/k8s-fuse-plugin.yml @@ -0,0 +1,33 @@ +apiVersion: apps/v1 +kind: DaemonSet +metadata: + name: fuse-device-plugin-daemonset + namespace: kube-system +spec: + selector: + matchLabels: + name: fuse-device-plugin-ds + template: + metadata: + labels: + name: fuse-device-plugin-ds + spec: + hostNetwork: true + containers: + - image: cr.seqera.io/public/k8s-fuse-plugin:0.1 + args: + - "--mounts-allowed=5000" + name: fuse-device-plugin-ctr + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: ["ALL"] + volumeMounts: + - name: device-plugin + mountPath: /var/lib/kubelet/device-plugins + volumes: + - name: device-plugin + hostPath: + path: /var/lib/kubelet/device-plugins + imagePullSecrets: + - name: registry-secret \ No newline at end of file