clean up minikube start output

pull/7326/head
Sharif Elgamal 2020-03-30 15:31:17 -07:00
parent 0696e90acd
commit fd3e0f505a
2 changed files with 9 additions and 0 deletions

View File

@ -371,6 +371,7 @@ func runStart(cmd *cobra.Command, args []string) {
ControlPlane: false,
KubernetesVersion: cc.KubernetesConfig.KubernetesVersion,
}
out.Ln("") // extra newline for clarity on the command line
err := node.Add(&cc, n)
if err != nil {
exit.WithError("adding node", err)

View File

@ -66,6 +66,14 @@ const (
// Start spins up a guest and starts the kubernetes node.
func Start(cc config.ClusterConfig, n config.Node, existingAddons map[string]bool, apiServer bool) *kubeconfig.Settings {
cp := ""
if apiServer {
cp = "control plane "
}
out.T(out.ThumbsUp, "Starting {{.controlPlane}}node {{.name}} in cluster {{.cluster}}", out.V{"controlPlane": cp, "name": n.Name, "cluster": cc.Name})
var kicGroup errgroup.Group
if driver.IsKIC(cc.Driver) {
beginDownloadKicArtifacts(&kicGroup)