-
Notifications
You must be signed in to change notification settings - Fork 93
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
安装报错了 #17
Comments
install.log Running transaction test 已安装: 完毕! |
暂时未能重现 |
我也遇到了这个问题。没法启动master Start to initialize Kubernetes master node... (1/6) Start to load images for Kubernetes master... ✖ Failed to initialize Kubernetes master node... 运行 journalctl -xe 发现有下面的错误输出 Dec 12 13:50:17 centos-master kubelet[6093]: I1212 13:50:17.676233 6093 controller.go:118] kubelet config controller: validating combination of defaults and flags 清空一下再试试看 [root@centos-master kubekit]# kubeadm reset 奇怪的是为什么没有创建 /etc/kubernetes 这个文件件 |
重新清空了一下,再安装,dashboard起来了。非常感谢 |
@levonchen kubeadm reset 可以清空K8S的组件 |
kubekit 是不是默认就把dns安装,配置好了? 但是我用busybox 试了一下,好像不起作用。 nslookup: can't resolve 'kubernetes.default' 希望给点参考意见,还是我需要做额外的单独配置dns吗? [root@centos-master kub]# kubectl get pods --namespace=kube-system 从输出看, dns应该是好的。 |
k8s用kube-dns来解决服务发现的问题,service创建的时候,会把service名字注册到kube-dns中。 或者你先创建一个pod和service,然后再试试? |
我也遇到这个问题,原因是我的hostname有下滑下(k8s_master),改成k8s-master之后果断好了 |
Start to initialize Kubernetes master node...
(1/6) Start to load images for Kubernetes master...
(2/6) Start to install components for Kubernetes master...
(3/6) Start to configure firewall...
(4/6) Start to initialize Kubernetes master...
Exit Status: 2
✖ Failed to initialize Kubernetes master node...
The text was updated successfully, but these errors were encountered: