创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
发帖前请点击 发表主题 右边的 预览(👀) 按钮,确保帖子格式正确。
操作系统信息
例如:虚拟机,银河麒麟V10,类centos
Kubernetes版本信息
例如:v1.23.7
容器运行时
docker 20.10.7
KubeSphere版本信息
例如:v3.2.1。离线安装。 KK 2.2.1 (之前使用V3.2文档中推荐的KK2.0.0版本时,出现NO SHA256 found for kubeadm,不知道如何解决,改用了最新版后不再出现该问题,但又出现了docker问题)
问题是什么
在已经安装好docker,k8s,kubesphere的单节点机器上打包
执行 ./kk artifact export -m manifest-sample.yaml -o kubesphere.tar.gz
日志显示:一切正常,直到
16:07:01 CST message: [localhost]
downloading amd64 docker 20.10.7 …
% Total % Received % Xferd Average Speed Time Time Time Current
100 66.4M 100 66.4M 0 0 602k 0 0:01:52 0:01:52 –:–:– 530k
% Total % Received % Xferd Average Speed Time Time Time Current
100 66.4M 100 66.4M 0 0 459k 0 0:02:28 0:02:28 –:–:– 423k
% Total % Received % Xferd Average Speed Time Time Time Current
100 66.4M 100 66.4M 0 0 319k 0 0:03:33 0:03:33 –:–:– 355k
% Total % Received % Xferd Average Speed Time Time Time Current
100 66.4M 100 66.4M 0 0 373k 0 0:03:02 0:03:02 –:–:– 380k
% Total % Received % Xferd Average Speed Time Time Time Current
100 66.4M 100 66.4M 0 0 368k 0 0:03:04 0:03:04 –:–:– 354k
16:21:05 CST message: [LocalHost]
Failed to download docker binary: curl -L -o /home/master/kubekey/artifact/docker/20.10.7/amd64/docker-20.10.7.tgz https://mirrors.aliyun.com/docker-ce/linux/static/stable/x86_64/docker-20.10.7.tgz error: No SHA256 found for docker. 20.10.7 is not supported.
16:21:05 CST failed: [LocalHost]
error: Pipeline[ArtifactExportPipeline] execute failed: Module[ArtifactBinariesModule] exec failed:
failed: [LocalHost] [DownloadBinaries] exec failed after 1 retires: Failed to download docker binary: curl -L -o /home/master/kubekey/artifact/docker/20.10.7/amd64/docker-20.10.7.tgz https://mirrors.aliyun.com/docker-ce/linux/static/stable/x86_64/docker-20.10.7.tgz error: No SHA256 found for docker. 20.10.7 is not supported.
检查本地文件,在/kubekey/artifact/docker/20.10.7/amd64/路径下存在docker-20.10.7.tgz
manifest如下:
apiVersion: kubekey.kubesphere.io/v1alpha2
kind: Manifest
metadata:
name: sample
spec:
arches:
operatingSystems:
kubernetesDistributions:
type: kubernetes
version: v1.23.7
components:
helm:
version: v3.6.3
cni:
version: v0.9.1
etcd:
version: v3.4.13
containerRuntimes:
- type: docker
version: 20.10.7
crictl:
version: v1.24.0
harbor:
version: v2.4.1
docker-compose:
version: v2.2.2
images:
docker.io/calico/cni:v3.23.1
docker.io/calico/kube-controllers:v3.23.1
docker.io/calico/node:v3.23.1
docker.io/csiplugin/snapshot-controller:v4.0.0
registry.cn-beijing.aliyuncs.com/kubesphereio/pilot:1.11.1
registry.cn-beijing.aliyuncs.com/kubesphereio/proxyv2:1.11.1
registry.cn-beijing.aliyuncs.com/kubesphereio/jaeger-collector:1.27
registry.cn-beijing.aliyuncs.com/kubesphereio/jaeger-operator:1.27
registry.cn-beijing.aliyuncs.com/kubesphereio/jaeger-query:1.27
registry.cn-beijing.aliyuncs.com/kubesphereio/elasticsearch-oss:6.7.0-1
registry.cn-beijing.aliyuncs.com/kubesphereio/fluent-bit:v1.8.3
registry.cn-beijing.aliyuncs.com/kubesphereio/fluentbit-operator:v0.11.0
registry.cn-beijing.aliyuncs.com/kubesphereio/kiali-operator:v1.38.1
registry.cn-beijing.aliyuncs.com/kubesphereio/kiali:v1.38
registry.cn-beijing.aliyuncs.com/kubesphereio/ks-apiserver:v3.2.1
registry.cn-beijing.aliyuncs.com/kubesphereio/ks-console:v3.2.1
registry.cn-beijing.aliyuncs.com/kubesphereio/ks-controller-manager:v3.2.1
registry.cn-beijing.aliyuncs.com/kubesphereio/ks-installer:v3.2.1
registry.cn-beijing.aliyuncs.com/kubesphereio/kube-auditing-operator:v0.2.0
registry.cn-beijing.aliyuncs.com/kubesphereio/kube-auditing-webhook:v0.2.0
registry.cn-beijing.aliyuncs.com/kubesphereio/kube-events-exporter:v0.3.0
registry.cn-beijing.aliyuncs.com/kubesphereio/kube-events-operator:v0.3.0
registry.cn-beijing.aliyuncs.com/kubesphereio/kube-events-ruler:v0.3.0
registry.cn-beijing.aliyuncs.com/kubesphereio/kube-rbac-proxy:v0.8.0
registry.cn-beijing.aliyuncs.com/kubesphereio/kube-state-metrics:v1.9.7
registry.cn-beijing.aliyuncs.com/kubesphereio/kubectl:v1.22.0
registry.cn-beijing.aliyuncs.com/kubesphereio/log-sidecar-injector:1.1
registry.cn-beijing.aliyuncs.com/kubesphereio/notification-manager-operator:v1.4.0
registry.cn-beijing.aliyuncs.com/kubesphereio/notification-manager:v1.4.0
registry.cn-beijing.aliyuncs.com/kubesphereio/notification-tenant-sidecar:v3.2.0
registry.cn-beijing.aliyuncs.com/kubesphereio/openpitrix-jobs:v3.2.1
registry.cn-beijing.aliyuncs.com/kubesphereio/prometheus-operator:v0.43.2
registry.cn-beijing.aliyuncs.com/kubesphereio/docker:19.03
registry.cn-beijing.aliyuncs.com/kubesphereio/minio:RELEASE.2019-08-07T01-59-21Z
registry.cn-beijing.aliyuncs.com/kubesphereio/openldap:1.3.0
registry.cn-beijing.aliyuncs.com/kubesphereio/alertmanager:v0.21.0
registry.cn-beijing.aliyuncs.com/kubesphereio/prometheus:v2.26.0
registry.cn-beijing.aliyuncs.com/kubesphereio/thanos:v0.18.0
registry.aliyuncs.com/google_containers/coredns:v1.8.6
registry.aliyuncs.com/google_containers/etcd:3.5.1-0
registry.aliyuncs.com/google_containers/kube-apiserver:v1.23.7
registry.aliyuncs.com/google_containers/kube-apiserver:v1.23.8
registry.aliyuncs.com/google_containers/kube-controller-manager:v1.23.7
registry.aliyuncs.com/google_containers/kube-controller-manager:v1.23.8
registry.aliyuncs.com/google_containers/kube-proxy:v1.23.7
registry.aliyuncs.com/google_containers/kube-proxy:v1.23.8
registry.aliyuncs.com/google_containers/kube-scheduler:v1.23.7
registry.aliyuncs.com/google_containers/kube-scheduler:v1.23.8
registry.cn-hangzhou.aliyuncs.com/lfy_k8s_images/metrics-server:v0.4.3
registry.cn-hangzhou.aliyuncs.com/lfy_k8s_images/nfs-subdir-external-provisioner:v4.0.2
registry:
auths: {}