Merge pull request #103763 from chendave/runtime

Using full url format as runtime endpoint
This commit is contained in:
Kubernetes Prow Robot
2021-08-06 07:33:31 -07:00
committed by GitHub

View File

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