Convert the scheduler binary to hyperkube.

This commit is contained in:
Joe Beda
2015-01-30 15:59:27 -08:00
parent bbb4479166
commit b89454a48e
3 changed files with 119 additions and 53 deletions

View File

@@ -24,6 +24,7 @@ import (
"github.com/GoogleCloudPlatform/kubernetes/pkg/controllermanager"
"github.com/GoogleCloudPlatform/kubernetes/pkg/hyperkube"
apiserver "github.com/GoogleCloudPlatform/kubernetes/pkg/master/server"
sched "github.com/GoogleCloudPlatform/kubernetes/plugin/pkg/scheduler/server"
)
func main() {
@@ -34,6 +35,7 @@ func main() {
hk.AddServer(apiserver.NewHyperkubeServer())
hk.AddServer(controllermanager.NewHyperkubeServer())
hk.AddServer(sched.NewHyperkubeServer())
hk.RunToExit(os.Args)
}