Commit 70d8e9a0 authored by Darren Shepherd's avatar Darren Shepherd

Make kubelet.sock path changable

parent 0b42a67b
...@@ -29,9 +29,12 @@ const ( ...@@ -29,9 +29,12 @@ const (
// Note: Placeholder until we find a "standard path" // Note: Placeholder until we find a "standard path"
DevicePluginPath = "/var/lib/kubelet/device-plugins/" DevicePluginPath = "/var/lib/kubelet/device-plugins/"
// KubeletSocket is the path of the Kubelet registry socket // KubeletSocket is the path of the Kubelet registry socket
KubeletSocket = DevicePluginPath + "kubelet.sock" //KubeletSocket = DevicePluginPath + "kubelet.sock"
// Timeout duration in secs for PreStartContainer RPC // Timeout duration in secs for PreStartContainer RPC
KubeletPreStartContainerRPCTimeoutInSecs = 30 KubeletPreStartContainerRPCTimeoutInSecs = 30
) )
var SupportedVersions = [...]string{"v1beta1"} var (
KubeletSocket = DevicePluginPath + "kubelet.sock"
SupportedVersions = [...]string{"v1beta1"}
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment