创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。如果未按模板创建问题,管理员有权关闭问题。
确保帖子格式清晰易读,用 markdown code block 语法格式化代码块。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
操作系统信息
macOS
Kubernetes版本信息
$ kubectl version
Client Version: version.Info{Major:“1”, Minor:“22”, GitVersion:“v1.22.5”, GitCommit:“5c99e2ac2ff9a3c549d9ca665e7bc05a3e18f07e”, GitTreeState:“clean”, BuildDate:“2021-12-16T08:38:33Z”, GoVersion:“go1.16.12”, Compiler:“gc”, Platform:“darwin/amd64”}
Server Version: version.Info{Major:“1”, Minor:“22”, GitVersion:“v1.22.5”, GitCommit:“5c99e2ac2ff9a3c549d9ca665e7bc05a3e18f07e”, GitTreeState:“clean”, BuildDate:“2021-12-16T08:32:32Z”, GoVersion:“go1.16.12”, Compiler:“gc”, Platform:“linux/amd64”}
容器运行时
$ docker version
Client:
Cloud integration: v1.0.22
Version: 20.10.13
API version: 1.41
Go version: go1.16.15
Git commit: a224086
Built: Thu Mar 10 14:08:44 2022
OS/Arch: darwin/amd64
Context: default
Experimental: true
Server: Docker Desktop 4.6.0 (75818)
Engine:
Version: 20.10.13
API version: 1.41 (minimum version 1.12)
Go version: go1.16.15
Git commit: 906f57f
Built: Thu Mar 10 14:06:05 2022
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.5.10
GitCommit: 2a1d4dbdb2a1030dc5b01e96fb110a9d9f150ecc
runc:
Version: 1.0.3
GitCommit: v1.0.3-0-gf46b6ba
docker-init:
Version: 0.19.0
GitCommit: de40ad0
KubeSphere版本信息
3.2.1
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.1/kubesphere-installer.yaml
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.1/cluster-configuration.yaml
问题是什么
安装 Kubeedge 失败
“stdout”: "fatal: [localhost]: FAILED! => {\“attempts\”: 3, \“changed\”: true, \“cmd\”: \“/usr/local/bin/helm upgrade –install kubeedge /kubesphere/kubesphere/kubeedge/kubeedge –namespace kubeedge –create-namespace -f /kubesphere/kubesphere/kubeedge/custom-values-kubeedge.yaml\\n\”, \“delta\”: \“0:00:02.102487\”, \“end\”: \“2022-03-27 11:47:21.804960\”, \“msg\”: \“non-zero return code\”, \“rc\”: 1, \“start\”: \“2022-03-27 11:47:19.702473\”, \“stderr\”: \“Error: failed to install CRD crds/cluster_objectsync_v1alpha1.yaml: unable to recognize \\\”\\\": no matches for kind \\\“CustomResourceDefinition\\\” in version \\\“apiextensions.k8s.io/v1beta1\\\”\", \“stderr_lines\”: [\“Error: failed to install CRD crds/cluster_objectsync_v1alpha1.yaml: unable to recognize \\\”\\\": no matches for kind \\\“CustomResourceDefinition\\\” in version \\\“apiextensions.k8s.io/v1beta1\\\”\"], \“stdout\”: \"Release \\\“kubeedge\\\” does not exist. Installing it now.\", \“stdout_lines\”: [\"Release \\\“kubeedge\\\” does not exist. Installing it now.\“]}”,
“uuid”: “b3935f50-b5eb-499b-bbc6-51619dd608d3”
}