mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
parent
0829376d8b
commit
ea5f58c77c
@ -39,6 +39,9 @@ func NewKubelet() (*Server, error) {
|
|||||||
configuration data, with the running set of containers by starting or stopping
|
configuration data, with the running set of containers by starting or stopping
|
||||||
Docker containers.`,
|
Docker containers.`,
|
||||||
Run: func(_ *Server, _ []string, stopCh <-chan struct{}) error {
|
Run: func(_ *Server, _ []string, stopCh <-chan struct{}) error {
|
||||||
|
if s.ExperimentalDockershim {
|
||||||
|
return app.RunDockershim(&s.KubeletFlags, &s.KubeletConfiguration)
|
||||||
|
}
|
||||||
return app.Run(s, nil)
|
return app.Run(s, nil)
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user