cmd.Flags().StringArrayP("api-port","a",[]string{"6443"},"Specify the Kubernetes API server port (Format: `--api-port [HOST:]HOSTPORT[@NODEFILTER]`")// TODO: how to handle this for multi-master setups?
cmd.Flags().StringArrayP("api-port","a",[]string{"6443"},"Specify the Kubernetes API server port (Format: `--api-port [HOST:]HOSTPORT[@NODEFILTER]`")
cmd.Flags().IntP("masters","m",1,"Specify how many masters you want to create")
cmd.Flags().IntP("masters","m",1,"Specify how many masters you want to create")
cmd.Flags().IntP("workers","w",0,"Specify how many workers you want to create")
cmd.Flags().IntP("workers","w",0,"Specify how many workers you want to create")
// cmd.Flags().String("config", "", "Specify a cluster configuration file") // TODO: to implement
// cmd.Flags().String("config", "", "Specify a cluster configuration file") // TODO: to implement
cmd.Flags().String("image",fmt.Sprintf("%s:%s",k3d.DefaultK3sImageRepo,"v1.0.0"),"Specify k3s image that you want to use for the nodes")// TODO: get image version
cmd.Flags().String("image",fmt.Sprintf("%s:%s",k3d.DefaultK3sImageRepo,version.K3sVersion),"Specify k3s image that you want to use for the nodes")
cmd.Flags().String("network","","Join an existing network")
cmd.Flags().String("network","","Join an existing network")
cmd.Flags().String("secret","","Specify a cluster secret. By default, we generate one.")
cmd.Flags().String("secret","","Specify a cluster secret. By default, we generate one.")
cmd.Flags().StringArrayP("volume","v",nil,"Mount volumes into the nodes (Format: `--volume [SOURCE:]DEST[@NODEFILTER[;NODEFILTER...]]`")
cmd.Flags().StringArrayP("volume","v",nil,"Mount volumes into the nodes (Format: `--volume [SOURCE:]DEST[@NODEFILTER[;NODEFILTER...]]`")