Commit ea5f58c7 authored by Ivan Shvedunov's avatar Ivan Shvedunov

Fix hyperkube kubelet --experimental-dockershim

Fixes #54424
parent 0829376d
......@@ -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)
},
}
......
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