Make the docker endpoint a flag.

This commit is contained in:
Brendan Burns
2014-06-27 16:07:30 -07:00
parent affaf173bf
commit f8060c5b3d
3 changed files with 31 additions and 12 deletions

View File

@@ -63,7 +63,7 @@ func main() {
SyncFrequency: 5 * time.Second,
HTTPCheckFrequency: 5 * time.Second,
}
go myKubelet.RunKubelet("", manifestUrl, servers[0], "localhost", 0)
go myKubelet.RunKubelet("", manifestUrl, servers[0], "localhost", "", 0)
// Create a second kublet so that the guestbook example's two redis slaves both
// have a place they can schedule.
@@ -76,7 +76,7 @@ func main() {
SyncFrequency: 5 * time.Second,
HTTPCheckFrequency: 5 * time.Second,
}
go otherKubelet.RunKubelet("", "", servers[0], "localhost", 0)
go otherKubelet.RunKubelet("", "", servers[0], "localhost", "", 0)
// Ok. we're good to go.
glog.Infof("API Server started on %s", apiserver.URL)