We have been giving user warnings about --timeout going away for a
while. Now fully deprecate it.
Use -t for --wait option
Move -w from --wait to --workers. Many users of K3d generate multi-node
clusters, -w will make their life easier.
Usage:"Specify the Kubernetes cluster API server port (Format: `[host:]port` (Note: --port/-p will be used for arbitrary port mapping as of v2.0.0, use --api-port/-a instead for setting the api port)",
Usage:"Specify the Kubernetes cluster API server port (Format: `[host:]port` (Note: --port/-p will be used for arbitrary port mapping as of v2.0.0, use --api-port/-a instead for setting the api port)",
},
},
cli.IntFlag{
cli.IntFlag{
Name:"timeout, t",
Name:"wait, t",
Value:0,
Usage:"Set the timeout value when --wait flag is set (deprecated, use --wait <timeout> instead)",
},
cli.IntFlag{
Name:"wait, w",
Value:0,// timeout
Value:0,// timeout
Usage:"Wait for the cluster to come up before returning until timoout (in seconds). Use --wait 0 to wait forever",
Usage:"Wait for the cluster to come up before returning until timoout (in seconds). Use --wait 0 to wait forever",
},
},
@ -126,7 +121,7 @@ func main() {
Usage:"Pass an additional environment variable (new flag per variable)",
Usage:"Pass an additional environment variable (new flag per variable)",
},
},
cli.IntFlag{
cli.IntFlag{
Name:"workers",
Name:"workers, w",
Value:0,
Value:0,
Usage:"Specify how many worker nodes you want to spawn",
Usage:"Specify how many worker nodes you want to spawn",