mirror of https://github.com/kubernetes/kops.git
Initial DO commit to rebase from plane
This commit is contained in:
parent
5c262bd8a7
commit
49dd9aa179
|
@ -137,7 +137,7 @@ func NewCmdCreateCluster(f *util.Factory, out io.Writer) *cobra.Command {
|
|||
cmd.Flags().StringVar(&options.Target, "target", options.Target, "Target - direct, terraform, cloudformation")
|
||||
cmd.Flags().StringVar(&options.Models, "model", options.Models, "Models to apply (separate multiple models with commas)")
|
||||
|
||||
cmd.Flags().StringVar(&options.Cloud, "cloud", options.Cloud, "Cloud provider to use - gce, aws")
|
||||
cmd.Flags().StringVar(&options.Cloud, "cloud", options.Cloud, "Cloud provider to use - gce, aws, do")
|
||||
|
||||
cmd.Flags().StringSliceVar(&options.Zones, "zones", options.Zones, "Zones in which to run the cluster")
|
||||
cmd.Flags().StringSliceVar(&options.MasterZones, "master-zones", options.MasterZones, "Zones in which to run masters (must be an odd number)")
|
||||
|
|
|
@ -96,6 +96,11 @@ type ApplyClusterCmd struct {
|
|||
}
|
||||
|
||||
func (c *ApplyClusterCmd) Run() error {
|
||||
|
||||
fmt.Println("We got here!")
|
||||
fmt.Println(c.Cluster.Spec)
|
||||
os.Exit(1)
|
||||
|
||||
if c.MaxTaskDuration == 0 {
|
||||
c.MaxTaskDuration = DefaultMaxTaskDuration
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue