mirror of https://github.com/kubernetes/kops.git
Merge pull request #4199 from dictvm/patch-1
Extend examples of subnet parameter
This commit is contained in:
commit
dbc81d2be1
|
@ -99,7 +99,7 @@ func NewCmdCreateInstanceGroup(f *util.Factory, out io.Writer) *cobra.Command {
|
|||
}
|
||||
|
||||
cmd.Flags().StringVar(&options.Role, "role", options.Role, "Type of instance group to create ("+strings.Join(allRoles, ",")+")")
|
||||
cmd.Flags().StringSliceVar(&options.Subnets, "subnet", options.Subnets, "Subnets in which to create instance group")
|
||||
cmd.Flags().StringSliceVar(&options.Subnets, "subnet", options.Subnets, "Subnet in which to create instance group. One of Availability Zone like eu-west-1a or a comma-separated list of multiple Availability Zones.")
|
||||
// DryRun mode that will print YAML or JSON
|
||||
cmd.Flags().BoolVar(&options.DryRun, "dry-run", options.DryRun, "If true, only print the object that would be sent, without sending it. This flag can be used to create a cluster YAML or JSON manifest.")
|
||||
cmd.Flags().StringVarP(&options.Output, "output", "o", options.Output, "Ouput format. One of json|yaml")
|
||||
|
|
|
@ -37,7 +37,7 @@ kops create instancegroup
|
|||
--edit If true, an editor will be opened to edit default values. (default true)
|
||||
-o, --output string Ouput format. One of json|yaml
|
||||
--role string Type of instance group to create (Node,Master,Bastion) (default "Node")
|
||||
--subnet stringSlice Subnets in which to create instance group
|
||||
--subnet stringSlice Subnet in which to create instance group. One of Availability Zone like eu-west-1a or a comma-separated list of multiple Availability Zones.
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
|
Loading…
Reference in New Issue