From ea5f58c77c758d5aba486fdbbd703d2bc744b96f Mon Sep 17 00:00:00 2001 From: Ivan Shvedunov Date: Tue, 24 Oct 2017 21:50:40 +0300 Subject: [PATCH] Fix hyperkube kubelet --experimental-dockershim Fixes #54424 --- cmd/hyperkube/kubelet.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/hyperkube/kubelet.go b/cmd/hyperkube/kubelet.go index 36c3286a12e..c58363a6c9b 100644 --- a/cmd/hyperkube/kubelet.go +++ b/cmd/hyperkube/kubelet.go @@ -39,6 +39,9 @@ func NewKubelet() (*Server, error) { configuration data, with the running set of containers by starting or stopping Docker containers.`, Run: func(_ *Server, _ []string, stopCh <-chan struct{}) error { + if s.ExperimentalDockershim { + return app.RunDockershim(&s.KubeletFlags, &s.KubeletConfiguration) + } return app.Run(s, nil) }, }