Added new command clusterinfo to kubectl
This is first version of the command. It prints IPs of master and cluster services. Should be improved once generalized labels are implemented #341. It requires label kubernet.io/cluster-service=true set for cluster services. Follow up cl after discussion in #4417.
This commit is contained in:
@@ -197,6 +197,7 @@ Find more information at https://github.com/GoogleCloudPlatform/kubernetes.`,
|
||||
f.BindFlags(cmds.PersistentFlags())
|
||||
|
||||
cmds.AddCommand(f.NewCmdVersion(out))
|
||||
cmds.AddCommand(f.NewCmdClusterInfo(out))
|
||||
cmds.AddCommand(f.NewCmdProxy(out))
|
||||
|
||||
cmds.AddCommand(f.NewCmdGet(out))
|
||||
|
Reference in New Issue
Block a user