From 879085aaed63360096ecf572c16895fe94caed45 Mon Sep 17 00:00:00 2001 From: Alexandre Ferreira Date: Wed, 24 Jun 2020 15:16:01 -0500 Subject: [PATCH] Fix for k3s >= 1.18 --- smarter-device-management-pod.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/smarter-device-management-pod.yaml b/smarter-device-management-pod.yaml index 25bac9d..bf5d3be 100644 --- a/smarter-device-management-pod.yaml +++ b/smarter-device-management-pod.yaml @@ -33,6 +33,8 @@ spec: mountPath: /var/lib/kubelet/device-plugins - name: dev-dir mountPath: /dev + - name: sys-dir + mountPath: /sys volumes: - name: device-plugin hostPath: @@ -40,4 +42,7 @@ spec: - name: dev-dir hostPath: path: /dev - terminationGracePeriodSeconds: 30 + - name: sys-dir + hostPath: + path: /sys + terminationGracePeriodSeconds: 30