Add alternative names for the server binaries to hyperkube

This commit is contained in:
Lucas Käldström
2017-02-06 17:05:42 +02:00
parent 09cb6ee193
commit e2f829418e
7 changed files with 21 additions and 11 deletions

View File

@@ -27,8 +27,10 @@ func NewScheduler() *Server {
s := options.NewSchedulerServer()
hks := Server{
SimpleUsage: "scheduler",
Long: "Implements a Kubernetes scheduler. This will assign pods to kubelets based on capacity and constraints.",
name: "scheduler",
AlternativeName: "kube-scheduler",
SimpleUsage: "scheduler",
Long: "Implements a Kubernetes scheduler. This will assign pods to kubelets based on capacity and constraints.",
Run: func(_ *Server, _ []string) error {
return app.Run(s)
},