Commit 224f2ec0 authored by Darren Shepherd's avatar Darren Shepherd

Make kubelet.sock path changable

parent 2f73dded
......@@ -29,9 +29,12 @@ const (
// Note: Placeholder until we find a "standard path"
DevicePluginPath = "/var/lib/kubelet/device-plugins/"
// KubeletSocket is the path of the Kubelet registry socket
KubeletSocket = DevicePluginPath + "kubelet.sock"
//KubeletSocket = DevicePluginPath + "kubelet.sock"
// Timeout duration in secs for PreStartContainer RPC
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