mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-10 17:35:44 -04:00
parent
0829376d8b
commit
ea5f58c77c
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue