Using full url format as runtime endpoint

Signed-off-by: Dave Chen <dave.chen@arm.com>
This commit is contained in:
Dave Chen 2021-07-19 18:34:33 +08:00
parent f5bc129a99
commit 5347f67e35

View File

@ -165,7 +165,7 @@ func GetHollowKubeletConfig(opt *HollowKubletOptions) (*options.KubeletFlags, *k
f.RegisterNode = true
f.RegisterSchedulable = true
f.RegisterWithTaints = opt.RegisterWithTaints
f.RemoteImageEndpoint = "/run/containerd/containerd.sock"
f.RemoteImageEndpoint = "unix:///run/containerd/containerd.sock"
// Config struct
c, err := options.NewKubeletConfiguration()