docs: add some notes about 'k3d start cluster --wait --timeout'
This commit is contained in:
parent
99f5a6884a
commit
5afa25154c
@ -60,8 +60,8 @@ func NewCmdStartCluster() *cobra.Command {
|
|||||||
|
|
||||||
// add flags
|
// add flags
|
||||||
cmd.Flags().BoolP("all", "a", false, "Start all existing clusters")
|
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().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, "Rollback changes if cluster couldn't be created in specified duration.")
|
cmd.Flags().DurationVar(&startClusterOpts.Timeout, "timeout", 0*time.Second, "Maximum waiting time for '--wait' before canceling/returning.")
|
||||||
|
|
||||||
// add subcommands
|
// add subcommands
|
||||||
|
|
||||||
|
@ -33,6 +33,8 @@ k3d
|
|||||||
start
|
start
|
||||||
cluster CLUSTERNAME # start a (stopped) cluster
|
cluster CLUSTERNAME # start a (stopped) cluster
|
||||||
-a, --all # start all clusters
|
-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
|
node NODENAME # start a (stopped) node
|
||||||
stop
|
stop
|
||||||
cluster CLUSTERNAME # stop a cluster
|
cluster CLUSTERNAME # stop a cluster
|
||||||
|
Loading…
Reference in New Issue
Block a user