Lorenz Brun | d13c1c6 | 2022-03-30 19:58:58 +0200 | [diff] [blame^] | 1 | From 500aace7a0bf5904c740e14ad18cd073df080d37 Mon Sep 17 00:00:00 2001 |
| 2 | From: Lorenz Brun <lorenz@monogon.tech> |
| 3 | Date: Wed, 16 Mar 2022 18:05:54 +0100 |
| 4 | Subject: [PATCH] Change device plugin path |
| 5 | |
| 6 | --- |
| 7 | pkg/apis/deviceplugin/v1beta1/constants.go | 2 +- |
| 8 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 9 | |
| 10 | diff --git a/pkg/apis/deviceplugin/v1beta1/constants.go b/pkg/apis/deviceplugin/v1beta1/constants.go |
| 11 | index 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 | -- |
| 24 | 2.25.1 |
| 25 | |