Add "create service" sub-commands

This adds:
 create service clusterip
 create service nodeport
 create service loadbalancer
This commit is contained in:
Angus Salkeld
2016-06-29 12:32:35 +02:00
parent 2f7a1612db
commit 42ca885edb
15 changed files with 787 additions and 0 deletions

View File

@@ -84,6 +84,7 @@ func NewCmdCreate(f *cmdutil.Factory, out io.Writer) *cobra.Command {
cmd.AddCommand(NewCmdCreateSecret(f, out))
cmd.AddCommand(NewCmdCreateConfigMap(f, out))
cmd.AddCommand(NewCmdCreateServiceAccount(f, out))
cmd.AddCommand(NewCmdCreateService(f, out))
return cmd
}