mirror of https://github.com/k3s-io/k3s
Make kubelet.sock path changable
parent
14b632c696
commit
7bdc05e3e4
|
@ -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"}
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue