diff --git a/cmd/kops/create_cluster.go b/cmd/kops/create_cluster.go index f5d9056993..223d150b29 100644 --- a/cmd/kops/create_cluster.go +++ b/cmd/kops/create_cluster.go @@ -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)") diff --git a/upup/pkg/fi/cloudup/apply_cluster.go b/upup/pkg/fi/cloudup/apply_cluster.go index 56e1d3ddbd..438232c76f 100644 --- a/upup/pkg/fi/cloudup/apply_cluster.go +++ b/upup/pkg/fi/cloudup/apply_cluster.go @@ -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 }