diff --git a/cmd/start/startCluster.go b/cmd/start/startCluster.go index e8de46d9..5a96157c 100644 --- a/cmd/start/startCluster.go +++ b/cmd/start/startCluster.go @@ -60,8 +60,8 @@ func NewCmdStartCluster() *cobra.Command { // add flags cmd.Flags().BoolP("all", "a", false, "Start all existing clusters") - cmd.Flags().BoolVar(&startClusterOpts.WaitForMaster, "wait", false, "Wait for the master(s) to be ready before returning.") - cmd.Flags().DurationVar(&startClusterOpts.Timeout, "timeout", 0*time.Second, "Rollback changes if cluster couldn't be created in specified duration.") + cmd.Flags().BoolVar(&startClusterOpts.WaitForMaster, "wait", false, "Wait for the master(s) (and loadbalancer) to be ready before returning.") + cmd.Flags().DurationVar(&startClusterOpts.Timeout, "timeout", 0*time.Second, "Maximum waiting time for '--wait' before canceling/returning.") // add subcommands diff --git a/docs/usage/commands.md b/docs/usage/commands.md index 2b650814..4bb22642 100644 --- a/docs/usage/commands.md +++ b/docs/usage/commands.md @@ -33,6 +33,8 @@ k3d start cluster CLUSTERNAME # start a (stopped) cluster -a, --all # start all clusters + --wait # wait for all masters and master-loadbalancer to be up before returning + --timeout # maximum waiting time for '--wait' before canceling/returning node NODENAME # start a (stopped) node stop cluster CLUSTERNAME # stop a cluster