wenwutang
wenwutang
containerd并没有直接提供insecureRegistries的参数,这个方法利用containerd支持为任意仓库配置mirror来支持http吧。当然我看最新的文档已经弃用mirror了,推荐使用config_path的方式[registry](https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples)
1 kubectl delete node node1 2 vim config-sample.yaml //replace node1 ip 3 kk add node node1 -f config-sample.yaml
// add ks-installer spec.namespace_override: kubesphereio kubectl edit cc -n kubesphere-system ks-installer
use **dataRoot** config cri data path `https://github.com/kubesphere/kubekey/blob/b2fd07096e3ae9399d7737eed8107591c016110b/cmd/kk/pkg/container/templates/containerd_config.go#L28` example: config-sample.yaml ... registry: dataRoot: /data/var/lib/containerd ...
see [https://github.com/kubesphere/kubekey/blob/master/docs/config-example.md](url) # config-sample.yaml ` kubernetes kubeletArgs: ["--root-dir=/var/lib/kubelet"] `
fix in v3.1.0-rc.1