From 3e1e5f19f232d3d0b20ddfdd4aa294748b6f8842 Mon Sep 17 00:00:00 2001 From: magichan Date: Thu, 12 Sep 2024 22:57:08 +0800 Subject: [PATCH] update default kubeedge version Signed-off-by: magichan --- keadm/cmd/keadm/app/cmd/common/constant.go | 2 +- keadm/cmd/keadm/app/cmd/helm/cloudcore.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/keadm/cmd/keadm/app/cmd/common/constant.go b/keadm/cmd/keadm/app/cmd/common/constant.go index 05c07b55e2b..e57625861c9 100644 --- a/keadm/cmd/keadm/app/cmd/common/constant.go +++ b/keadm/cmd/keadm/app/cmd/common/constant.go @@ -120,7 +120,7 @@ const ( DefaultK8SMinimumVersion = 11 // DefaultKubeEdgeVersion is the default KubeEdge version, it must have no prefix 'v' - DefaultKubeEdgeVersion = "1.15.1" + DefaultKubeEdgeVersion = "1.18.0" // Helm action HelmInstallAction = "install" diff --git a/keadm/cmd/keadm/app/cmd/helm/cloudcore.go b/keadm/cmd/keadm/app/cmd/helm/cloudcore.go index ddf18f84fc1..9b7c9c0addd 100644 --- a/keadm/cmd/keadm/app/cmd/helm/cloudcore.go +++ b/keadm/cmd/keadm/app/cmd/helm/cloudcore.go @@ -124,7 +124,7 @@ func (c *CloudCoreHelmTool) Install(opts *types.InitOptions) error { return fmt.Errorf("failed to verify k8s component installed, err: %v", err) } - fmt.Println("Kubernetes version verification passed, KubeEdge installation will start...") + fmt.Printf("Kubernetes version verification passed, KubeEdge %s installation will start...\n", opts.KubeEdgeVersion) appendDefaultSets(opts.KubeEdgeVersion, opts.AdvertiseAddress, &opts.CloudInitUpdateBase) // Load profile values, and merges the sets flag