liujian

Results 103 comments of liujian

Version 3.x of kk does not support etcd scaling, which will be available in version 4.x. refer:https://github.com/kubesphere/kubekey/blob/feature-gitops/builtin/core/roles/etcd/tasks/expansion.yaml

用root用户试试,非root用户的PR已经合了。下个版本会修复 https://github.com/kubesphere/kubekey/pull/2858

Thanks for the feedback. The reason might be that the version of containerd you installed is too low to support the Kubernetes version you’re using. You can uninstall the old...

从日志来看,你的机器在执行 kk create cluster 之前已经安装了 Docker,很可能是本地已安装的 Docker 版本与集群环境不兼容。 kk create cluster 会在系统未安装 Docker 时,自动从官网下载安装并配置兼容版本。 建议先卸载现有的 Docker,再通过 kk 安装,以确保环境一致性和兼容性。

v3.0.7 版本的kk 安装的默认软件版本如下: https://github.com/kubesphere/kubekey/blob/e755baf67198d565689d7207378174f429b508ba/cmd/kk/apis/kubekey/v1alpha2/default.go#L44-L46 可以去对应的node76, node68机器上查看docker的系统日志,看有没有有效信息。

refer: https://github.com/kubesphere/kubekey/issues/2509 https://github.com/kubesphere/kubekey/issues/2510#issuecomment-2808449221

在4.x中,安装的软件分为两部分: 1. helm,docker。这类二进制软件包。会完全安装config.yaml中定义的版本。 参考:https://github.com/kubesphere/kubekey/blob/feature-gitops/builtin/core/defaults/config/v1.33.yaml 2. deb或rpm包,包含:socat conntrack ipset ebtables chrony ipvsadm。在离线环境中,通过iso镜像包安装。 iso镜像制作参考:https://github.com/kubesphere/kubekey/issues/2601 部署代码:https://github.com/kubesphere/kubekey/blob/feature-gitops/builtin/core/roles/native/repository/tasks/install_package.yaml

config.yaml 文件中的 image_manifests 字段是用来打离线包。你需要修改的应该是: 方案一. 在config.yaml中添加如下字段 ```yaml spec: image_registry: dockerio_registry: docker.1ms.run ``` 然后执行 `kk create cluster -i inventory.yaml -c config.yaml` 方案二:直接执行 `kk create cluster -i inventory.yaml -c config.yaml --set image_registry.dockerio_registry=docker.1ms.run`

> sandbox_image 方案一,是不是层级设置的有问题。完整config.yaml结构 ```yaml apiVersion: kubekey.kubesphere.io/v1 kind: Config spec: image_registry: dockerio_registry: docker.1ms.run ``` 关于sandbox_image 是不是之前安装过containerd。需要执行`kk delete cluster -i inventory.yaml --all` 清除containerd才行。

> > > sandbox_image > > > > > > 方案一,是不是层级设置的有问题。完整config.yaml结构 > > apiVersion: kubekey.kubesphere.io/v1 > > kind: Config > > spec: > > image_registry: > > dockerio_registry: docker.1ms.run >...