blob: 069decec004ea6c2502700c861fba6ef37ec642f [file] [log] [blame]
Lorenz Brund13c1c62022-03-30 19:58:58 +02001From 500aace7a0bf5904c740e14ad18cd073df080d37 Mon Sep 17 00:00:00 2001
2From: Lorenz Brun <lorenz@monogon.tech>
3Date: Wed, 16 Mar 2022 18:05:54 +0100
4Subject: [PATCH] Change device plugin path
5
6---
7 pkg/apis/deviceplugin/v1beta1/constants.go | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/pkg/apis/deviceplugin/v1beta1/constants.go b/pkg/apis/deviceplugin/v1beta1/constants.go
11index 3bed214..30f06fe 100644
12--- a/pkg/apis/deviceplugin/v1beta1/constants.go
13+++ b/pkg/apis/deviceplugin/v1beta1/constants.go
14@@ -27,7 +27,7 @@ const (
15 // DevicePluginPath is the folder the Device Plugin is expecting sockets to be on
16 // Only privileged pods have access to this path
17 // Note: Placeholder until we find a "standard path"
18- DevicePluginPath = "/var/lib/kubelet/device-plugins/"
19+ DevicePluginPath = "/data/kubernetes/kubelet/device-plugins/"
20 // KubeletSocket is the path of the Kubelet registry socket
21 KubeletSocket = DevicePluginPath + "kubelet.sock"
22
23--
242.25.1
25