k8s 在rancher中日志不显示的原因

报错无法 连接解析xxx.node,no such host   原因是dns无法解析 这个主机名,原因是在core-dns的pod所在节点的/etc/hosts  没有配置主机名和ip的映射关系

https://xxxnode:10250/containerLogs/default/xxxxxx-node-0/tas-node?tailLines=5000&timestamps=true

posted @ 2023-02-15 11:02  滴滴滴  阅读(228)  评论(0)    收藏  举报