ks自带的kubeedge组件版本太老了,直接在k8s上手动安装了1.18版本的kubeedge,想把ks console中边缘节点管理页面相关功能打开,尝试了安装“扩展市场–KubeEdge 边缘计算框架组件”,报安装错误(因为kubeedge组件已经存在了),错误信息如下:
2025-05-05T15:18:07.601202674+08:00 client.go:142: [debug] creating 1 resource(s)2025-05-05T15:18:07.609795660+08:00 install.go:168: [debug] CRD nodeupgradejobs.operations.kubeedge.io is already present. Skipping.2025-05-05T15:18:07.621033257+08:00 client.go:142: [debug] creating 1 resource(s)2025-05-05T15:18:07.626722466+08:00 install.go:168: [debug] CRD rules.rules.kubeedge.io is already present. Skipping.2025-05-05T15:18:07.637369538+08:00 client.go:142: [debug] creating 1 resource(s)2025-05-05T15:18:07.642794704+08:00 install.go:168: [debug] CRD ruleendpoints.rules.kubeedge.io is already present. Skipping.2025-05-05T15:18:11.717310117+08:00 Error: Unable to continue with install: ServiceAccount “cloudcore” in namespace “kubeedge” exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key “meta.helm.sh/release-name” must equal “kubeedge”: current value is "cloudcore"2025-05-05T15:18:11.717340657+08:00 helm.go:84: [debug] ServiceAccount “cloudcore” in namespace “kubeedge” exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key “meta.helm.sh/release-name” must equal “kubeedge”: current value is "cloudcore"2025-05-05T15:18:11.717342891+08:00 Unable to continue with install2025-05-05T15:18:11.717344882+08:00 helm.sh/helm/v3/pkg/action.(*Install).RunWithContext2025-05-05T15:18:11.717346430+08:00 helm.sh/helm/v3/pkg/action/install.go:3402025-05-05T15:18:11.717347604+08:00 main.runInstall2025-05-05T15:18:11.717349057+08:00 helm.sh/helm/v3/cmd/helm/install.go:3062025-05-05T15:18:11.717350531+08:00 main.newUpgradeCmd.func22025-05-05T15:18:11.717351634+08:00 helm.sh/helm/v3/cmd/helm/upgrade.go:1462025-05-05T15:18:11.717352795+08:00 github.com/spf13/cobra.(*Command).execute2025-05-05T15:18:11.717368001+08:00 github.com/spf13/cobra@v1.8.0/command.go:9832025-05-05T15:18:11.717369403+08:00 github.com/spf13/cobra.(*Command).ExecuteC2025-05-05T15:18:11.717370498+08:00 github.com/spf13/cobra@v1.8.0/command.go:11152025-05-05T15:18:11.717371606+08:00 github.com/spf13/cobra.(*Command).Execute2025-05-05T15:18:11.717372867+08:00 github.com/spf13/cobra@v1.8.0/command.go:10392025-05-05T15:18:11.717373942+08:00 main.main2025-05-05T15:18:11.717375212+08:00 helm.sh/helm/v3/cmd/helm/helm.go:832025-05-05T15:18:11.717376309+08:00 runtime.main2025-05-05T15:18:11.717377475+08:00 runtime/proc.go:2672025-05-05T15:18:11.717378700+08:00 runtime.goexit
3.4版本的kubesphere有相关说明能直接在console能看到相关页面:KubeEdge
版本信息:
ubuntu24.04
KubeSphere 版本 : v4.1.3
kubeedge:1.18