aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kubernetes/remove-apiserver-add-kube-prefix-for-hyperkube.patch
blob: ad691e1c450c55b9e114a34f80f70e6db76c7f1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
diff --git a/cmd/hyperkube/kube-controller-manager.go b/cmd/hyperkube/kube-controller-manager.go
index 35061e9..482958d 100644
--- a/cmd/hyperkube/kube-controller-manager.go
+++ b/cmd/hyperkube/kube-controller-manager.go
@@ -29,7 +29,7 @@ func NewKubeControllerManager() *Server {
 	hks := Server{
 		name:            "controller-manager",
 		AlternativeName: "kube-controller-manager",
-		SimpleUsage:     "controller-manager",
+		SimpleUsage:     "kube-controller-manager",
 		Long:            "A server that runs a set of active components. This includes replication controllers, service endpoints and nodes.",
 		Run: func(_ *Server, args []string) error {
 			return app.Run(s)
diff --git a/cmd/hyperkube/kube-proxy.go b/cmd/hyperkube/kube-proxy.go
index 76bc2dc..1eba8a7 100644
--- a/cmd/hyperkube/kube-proxy.go
+++ b/cmd/hyperkube/kube-proxy.go
@@ -33,7 +33,7 @@ func NewKubeProxy() *Server {
 	hks := Server{
 		name:            "proxy",
 		AlternativeName: "kube-proxy",
-		SimpleUsage:     "proxy",
+		SimpleUsage:     "kube-proxy",
 		Long:            command.Long,
 	}
 
diff --git a/cmd/hyperkube/kube-scheduler.go b/cmd/hyperkube/kube-scheduler.go
index fd00103..587a9a1 100644
--- a/cmd/hyperkube/kube-scheduler.go
+++ b/cmd/hyperkube/kube-scheduler.go
@@ -29,7 +29,7 @@ func NewScheduler() *Server {
 	hks := Server{
 		name:            "scheduler",
 		AlternativeName: "kube-scheduler",
-		SimpleUsage:     "scheduler",
+		SimpleUsage:     "kube-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)
diff --git a/cmd/hyperkube/main.go b/cmd/hyperkube/main.go
index e1e07b7..10ed8b1 100644
--- a/cmd/hyperkube/main.go
+++ b/cmd/hyperkube/main.go
@@ -33,7 +33,6 @@ func main() {
 	}
 
 	hk.AddServer(NewKubectlServer())
-	hk.AddServer(NewKubeAPIServer())
 	hk.AddServer(NewKubeControllerManager())
 	hk.AddServer(NewScheduler())
 	hk.AddServer(NewKubelet())