cmd.Flags().BoolVar(&createClusterOpts.WaitForServer,"wait",true,"Wait for the server(s) to be ready before returning. Use '--timeout DURATION' to not wait forever.")
cmd.Flags().BoolVar(&createClusterOpts.WaitForServer,"wait",true,"Wait for the server(s) to be ready before returning. Use '--timeout DURATION' to not wait forever.")
cmd.Flags().DurationVar(&createClusterOpts.Timeout,"timeout",0*time.Second,"Rollback changes if cluster couldn't be created in specified duration.")
cmd.Flags().DurationVar(&createClusterOpts.Timeout,"timeout",0*time.Second,"Rollback changes if cluster couldn't be created in specified duration.")
cmd.Flags().BoolVar(&updateDefaultKubeconfig,"update-default-kubeconfig",true,"Directly update the default kubeconfig with the new cluster's context")
cmd.Flags().BoolVar(&updateDefaultKubeconfig,"update-default-kubeconfig",true,"Directly update the default kubeconfig with the new cluster's context")
cmd.Flags().BoolVar(&noRollback,"no-rollback",false,"Disable the automatic rollback actions, if anything goes wrong")
cmd.Flags().BoolVar(&noRollback,"no-rollback",false,"Disable the automatic rollback actions, if anything goes wrong")
cmd.Flags().BoolVar(&createClusterOpts.PrepDisableHostIPInjection,"no-hostip",false,"Disable the automatic injection of the Host IP as 'host.k3d.internal' into the containers and CoreDNS")
cmd.Flags().BoolVar(&createClusterOpts.PrepDisableHostIPInjection,"no-hostip",false,"Disable the automatic injection of the Host IP as 'host.k3d.internal' into the containers and CoreDNS")
cmd.Flags().StringVar(&createClusterOpts.GPURequest,"gpus","","GPU devices to add to the cluster node containers ('all' to pass all GPUs) [From docker]")
cmd.Flags().StringVar(&createClusterOpts.GPURequest,"gpus","","GPU devices to add to the cluster node containers ('all' to pass all GPUs) [From docker]")