startCmd.Flags().Bool(force,false,"Force minikube to perform possibly dangerous operations")
startCmd.Flags().Bool(interactive,true,"Allow user prompts for more information")
startCmd.Flags().Bool(dryRun,false,"dry-run mode. Validates configuration, but does not mutate system state")
...
...
@@ -137,7 +136,7 @@ func initMinikubeFlags() {
startCmd.Flags().Bool(enableDefaultCNI,false,"DEPRECATED: Replaced by --cni=bridge")
startCmd.Flags().String(cniFlag,"","CNI plug-in to use. Valid options: auto, bridge, calico, cilium, flannel, kindnet, or path to a CNI manifest (default: auto)")
startCmd.Flags().StringSlice(waitComponents,kverify.DefaultWaitList,fmt.Sprintf("comma separated list of Kubernetes components to verify and wait for after starting a cluster. defaults to %q, available options: %q . other acceptable values are 'all' or 'none', 'true' and 'false'",strings.Join(kverify.DefaultWaitList,","),strings.Join(kverify.AllComponentsList,",")))
startCmd.Flags().Duration(waitTimeout,6*time.Minute,"max time to wait per Kubernetes core services to be healthy.")
startCmd.Flags().Duration(waitTimeout,6*time.Minute,"max time to wait per Kubernetes or host to be healthy.")
startCmd.Flags().Bool(nativeSSH,true,"Use native Golang SSH client (default true). Set to 'false' to use the command line 'ssh' command when accessing the docker machine. Useful for the machine drivers when they will not start with 'Waiting for SSH'.")
startCmd.Flags().Bool(autoUpdate,true,"If set, automatically updates drivers to the latest version. Defaults to true.")
startCmd.Flags().Bool(installAddons,true,"If set, install addons. Defaults to true.")
...
...
@@ -309,6 +308,7 @@ func generateClusterConfig(cmd *cobra.Command, existing *config.ClusterConfig, k
--vm-driver driver DEPRECATED, use driver instead.
--wait strings comma separated list of Kubernetes components to verify and wait for after starting a cluster. defaults to "apiserver,system_pods", available options: "apiserver,system_pods,default_sa,apps_running,node_ready" . other acceptable values are 'all' or 'none', 'true' and 'false' (default [apiserver,system_pods])
--wait-timeout duration max time to wait per Kubernetes core services to be healthy. (default 6m0s)
--wait-timeout duration max time to wait per Kubernetes or host to be healthy. (default 6m0s)