我已按照说明here(使用kubeadm)尝试使用RPi3b +设置k8s群集。
我放弃了编织,换了法兰绒为CNI。
但是,现在我从kube-dns收到以下错误:
pi@k8s-master-1:~ $ kubectl logs -f --namespace=kube-system kube-dns-686d6fb9c-4gl45 -c kubedns
.
.
I0603 23:51:04.245644 1 dns.go:173] Waiting for services and endpoints to be initialized from apiserver...
I0603 23:51:04.745684 1 dns.go:173] Waiting for services and endpoints to be initialized from apiserver...
.
.
E0603 23:51:33.747683 1 reflector.go:201] k8s.io/dns/pkg/dns/dns.go:147: Failed to list *v1.Endpoints: Get https://10.96.0.1:443/api/v1/endpoints?resourceVersion=0: dial tcp 10.96.0.1:443: i/o timeout
E0603 23:51:33.747683 1 reflector.go:201] k8s.io/dns/pkg/dns/dns.go:150: Failed to list *v1.Service: Get https://10.96.0.1:443/api/v1/services?resourceVersion=0: dial tcp 10.96.0.1:443: i/o timeout
.
.
I0603 23:52:03.246053 1 dns.go:173] Waiting for services and endpoints to be initialized from apiserver...
F0603 23:52:03.745975 1 dns.go:167] Timeout waiting for initialization
当api-server在端口6443上运行时,似乎kubedns正在尝试使用端口443来检查群集状态。
我不知道下一步要转向哪里或提供哪些其他信息。
感谢。