Make kubelet builder customizable

This is the preparation to remove a lot of duplicated code for kubelet
initialization in https://github.com/kubernetes/kubernetes/pull/13036.
This commit is contained in:
Dr. Stefan Schimanski
2015-09-23 11:19:39 +02:00
parent e330b1197e
commit cd760cc4ea
3 changed files with 7 additions and 5 deletions

View File

@@ -130,7 +130,7 @@ func main() {
10*time.Second, /* SyncFrequency */
40, /* MaxPods */
)
kubeletapp.RunKubelet(kcfg, nil)
kubeletapp.RunKubelet(kcfg)
select {}
}