Open phoenixzjh opened 1 year ago
find bugs , add text into /etc/containerd/config.toml file, restart containerd service
[plugins."io.containerd.grpc.v1.cri".registry.configs]
[plugins."io.containerd.grpc.v1.cri".registry.configs."dockerhub.kubekey.local".tls]
ca_file = "/etc/docker/certs.d/dockerhub.kubekey.local/dockerhub.kubekey.local.cert"
howto add config.toml config to kubekey config
howto add config.toml config to kubekey config
run command "kk create cluster - f k8s.yaml - a kubekey.tar.gz" until error , the file config.toml created
PR welcome
Modify registry
in config-sample.yaml
as below might solve the problem:
registry:
type: harbor
auths:
"dockerhub.kubekey.local":
username: admin
password: Harbor12345
certsPath: "/etc/docker/certs.d/dockerhub.kubekey.local"
privateRegistry: "dockerhub.kubekey.local"
namespaceOverride: "kubesphereio"
registryMirrors: []
insecureRegistries: []
I get error "unable to sign certificate: must specify a CommonName" with ./kk init registry -f k8s.yaml -a kubesphere.tar.gz when i try to install offline, solved with Taurus-Le modification.
I get error "unable to sign certificate: must specify a CommonName" with ./kk init registry -f k8s.yaml -a kubesphere.tar.gz when i try to install offline, solved with Taurus-Le modification.
same issue , sloved ths
What is version of KubeKey has the issue?
3.0.7
What is your os environment?
CentOS 9
KubeKey config file
A clear and concise description of what happend.
Execute the following command line kk init registry -f k8s.yaml -a kubekey.tar.gz kk create cluster - f k8s.yaml - a kubekey.tar.gz
Installation failed with error message
Relevant log output
Additional information
No response