Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

centos 7安装报错 #51

Open
an15221315127 opened this issue Mar 30, 2023 · 4 comments
Open

centos 7安装报错 #51

an15221315127 opened this issue Mar 30, 2023 · 4 comments

Comments

@an15221315127
Copy link

W0330 18:49:18.277988 3616 strict.go:47] unknown configuration schema.GroupVersionKind{Group:"kubeadm.k8s.io", Version:"v1beta3", Kind:"InitConfiguration"} for scheme definitions in "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/scheme/scheme.go:31" and "k8s.io/kubernetes/cmd/kubeadm/app/componentconfigs/scheme.go:28"
no kind "InitConfiguration" is registered for version "kubeadm.k8s.io/v1beta3" in scheme "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/scheme/scheme.go:31"
To see the stack trace of this error execute with --v=5 or higher

@ZhangJiaLei123
Copy link

我也遇到这个问题:

  • 安装脚本
 bash kainstall-centos.sh init    --master 192.168.12.21   --worker 192.168.12.22,192.168.12.23   --user root   --password 123456   --port 22 --version 1.20.6 

  • 日志报错
[2023-04-14T06:21:39.242455294-0400]: EXEC:    [command] sshpass -p "zzzzzz" ssh -o ConnectTimeout=600 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null [email protected] -p 22 bash -c 'kubeadm init --config=/etc/kubernetes/kubeadmcfg.yaml --upload-certs'
Warning: Permanently added '192.168.12.21' (ECDSA) to the list of known hosts.
W0414 18:21:39.586646    2432 strict.go:47] unknown configuration schema.GroupVersionKind{Group:"kubeadm.k8s.io", Version:"v1beta3", Kind:"ClusterConfiguration"} for scheme definitions in "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/scheme/scheme.go:31" and "k8s.io/kubernetes/cmd/kubeadm/app/componentconfigs/scheme.go:28"
no kind "ClusterConfiguration" is registered for version "kubeadm.k8s.io/v1beta3" in scheme "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/scheme/scheme.go:31"
To see the stack trace of this error execute with --v=5 or higher
[2023-04-14T06:21:39.596244339-0400]: ERROR:   [kubeadm init] 192.168.12.21: kubeadm init failed.




@avhkbcj99
Copy link

+1

@avhkbcj99
Copy link

把version换一下就OK了,我把version换成了1.24.8,也就是bash xxx --version 1.24.8

@ql4321
Copy link

ql4321 commented May 28, 2023

把version换一下就OK了,我把version换成了1.24.8,也就是bash xxx --version 1.24.8

应该可以了,果然好使.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants