kubeEdge 错误总结
搭建问题
1.KubeEdge 无法与 Kubernetes 节点建立连接
$ journalctl -u edgecore -xef
(1)通过日志判断 kube-proxy 需要关闭
通过 ps aux | grep kube-proxy
查看是否 kube-proxy 运行, kill PID
(2)edged 的驱动选择-》cgroup
or systemd
通过 vim /etc/kubeedge/config/edgecore.yaml
, 更改 edged相关键值 并 systemctl restart edgecore
(3)关闭 edgemesh
与上述(2)同理
编辑Yaml文件
1.found character that cannot start any token
是说在 Yaml 中有一些违法字符,比如使用了 TAB 键,在 Yaml 中要求空格
在云服务 linux 命令行中使用 Vim 是这样的,在编辑器中应该为 TAB 键做了处理