• 安装部署
  • 离线安装受限,当前制作离线manifest制品时,无法成功

创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
发帖前请点击 发表主题 右边的 预览(👀) 按钮,确保帖子格式正确。

操作系统信息
openeuler 22.03LTS

Kubernetes版本信息
v1.25.3

容器运行时
containerd

KubeSphere版本信息
v3.4.1

问题是什么
[root@master install]# ./kk artifact export -m manifest-sample.yaml -o kubernetes.tar.gz


| | / / | | | | / /

| |/ / _ _| |__ ___| |/ / ___ _ _

| \| | | | '_ \ / _ \ \ / _ \ | | |

| |\ \ || | |) | __/ |\ \ __/ |_| |

\| \/\,|./ \\| \/\|\__, |

                                __/ |

                               |___/

10:57:55 CST [CheckFileExist] Check output file if existed

10:57:55 CST success: [LocalHost]

10:57:55 CST [CopyImagesToLocalModule] Copy images to a local OCI path from registries

10:57:55 CST Source: docker://docker.io/calico/cni:v3.26.1

10:57:55 CST Destination: oci:/opt/install/kubekey/artifact/images:calico:cni:v3.26.1-amd64

11:03:00 CST message: [LocalHost]

initializing source docker://calico/cni:v3.26.1: Get “https://registry-1.docker.io/v2/calico/cni/manifests/v3.26.1”: read tcp 10.30.10.13:54170->3.219.239.5:443: read: connection reset by peer

11:03:00 CST failed: [LocalHost]

error: Pipeline[ArtifactExportPipeline] execute failed: Module[CopyImagesToLocalModule] exec failed:

failed: [LocalHost] [SaveImages] exec failed after 1 retries: initializing source docker://calico/cni:v3.26.1: Get “https://registry-1.docker.io/v2/calico/cni/manifests/v3.26.1”: read tcp 10.30.10.13:54170->3.219.239.5:443: read: connection reset by peer

更换containerd的endpoint地址配置暂时也无法解决该问题

13 天 后

请教下manifest-sample.yaml 文件中依赖的iso文件是如何获取的?
apiVersion: kubekey.kubesphere.io/v1alpha2
kind: Manifest
metadata:
name: sample
spec:
arches:

  • amd64
    operatingSystems:
  • arch: amd64
    type: linux
    id: openeuler
    version: “Can’t get the os version. Please edit it manually.”
    osImage: openEuler 22.03 (LTS-SP2)
    repository:
    iso:
    localPath:
    url: