Add Mesos hyperkube minion server

The minion server will
- launch the proxy and executor
- relaunch them when they terminate uncleanly
- logrotate their logs.

It is a replacement for a full-blown init process like s6 which is not necessary
in this case.
This commit is contained in:
Dr. Stefan Schimanski
2015-07-28 17:15:48 +02:00
parent e0eb0397b8
commit 2b1ecd28f0
19 changed files with 537 additions and 226 deletions

View File

@@ -29,7 +29,7 @@ func NewScheduler() *Server {
s := scheduler.NewSchedulerServer()
hks := Server{
SimpleUsage: hyperkube.KM_SCHEDULER,
SimpleUsage: hyperkube.CommandScheduler,
Long: "Implements a Kubernetes scheduler. This will assign pods to kubelets based on capacity and constraints.",
Run: func(_ *Server, args []string) error {
return s.Run(args)