Remove static kubelet client, refactor ConnectionInfoGetter

This commit is contained in:
Jordan Liggitt
2016-10-07 15:30:45 -04:00
parent 3f4c438946
commit a082a2e749
11 changed files with 170 additions and 231 deletions

View File

@@ -354,7 +354,7 @@ func NewMasterConfig() *master.Config {
StorageFactory: storageFactory,
EnableCoreControllers: true,
EnableWatchCache: true,
KubeletClient: kubeletclient.FakeKubeletClient{},
KubeletClientConfig: kubeletclient.KubeletClientConfig{Port: 10250},
}
}