rearrange RunKubelet's parameters so that address and port are next to each other
This commit is contained in:
@@ -64,7 +64,7 @@ func startComponents(manifestURL string) (apiServerURL string) {
|
||||
SyncFrequency: 5 * time.Second,
|
||||
HTTPCheckFrequency: 5 * time.Second,
|
||||
}
|
||||
go myKubelet.RunKubelet("", manifestURL, servers[0], "localhost", "", 0)
|
||||
go myKubelet.RunKubelet("", "", manifestURL, servers[0], "localhost", 10250)
|
||||
|
||||
// Create a second kubelet so that the guestbook example's two redis slaves both
|
||||
// have a place they can schedule.
|
||||
@@ -76,7 +76,7 @@ func startComponents(manifestURL string) (apiServerURL string) {
|
||||
SyncFrequency: 5 * time.Second,
|
||||
HTTPCheckFrequency: 5 * time.Second,
|
||||
}
|
||||
go otherKubelet.RunKubelet("", "", servers[0], "localhost", "", 0)
|
||||
go otherKubelet.RunKubelet("", "", "", servers[0], "localhost", 10251)
|
||||
|
||||
return apiserver.URL
|
||||
}
|
||||
|
Reference in New Issue
Block a user