Google容器引擎集群在日志中显示大量dns错误

Google容器引擎集群在日志中显示大量dns错误

本文介绍了Google容器引擎集群在日志中显示大量dns错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Google容器引擎,并在日志中收到大量的dns错误.

I am using google container engine and getting tons of dns errors in the logs.

赞:

10:33:11.000 I0720 17:33:11.547023 1 dns.go:439] Received DNS Request:kubernetes.default.svc.cluster.local., exact:false

并且:

10:46:11.000 I0720 17:46:11.546237 1 dns.go:539] records:[0xc8203153b0], retval:[{10.71.240.1 0 10 10 false 30 0 /skydns/local/cluster/svc/default/kubernetes/3465623435313164}], path:[local cluster svc default kubernetes]

这是有效载荷.

{
  metadata: {
    severity: "ERROR"
    serviceName: "container.googleapis.com"
    zone: "us-central1-f"
    labels: {
      container.googleapis.com/cluster_name: "some-name"
      compute.googleapis.com/resource_type: "instance"
      compute.googleapis.com/resource_name: "fluentd-cloud-logging-gke-master-cluster-default-pool-f5547509-"
      container.googleapis.com/instance_id: "instanceid"
      container.googleapis.com/pod_name: "fdsa"
      compute.googleapis.com/resource_id: "someid"
      container.googleapis.com/stream: "stderr"
      container.googleapis.com/namespace_name: "kube-system"
      container.googleapis.com/container_name: "kubedns"
    }
    timestamp: "2016-07-20T17:33:11.000Z"
    projectNumber: ""
  }
  textPayload: "I0720 17:33:11.547023       1 dns.go:439] Received DNS   Request:kubernetes.default.svc.cluster.local., exact:false"
  log: "kubedns"
}

一切正常,只是日志被错误污染.为什么会发生这种情况或是否应该引起我的任何想法?

Everything is working just the logs are polluted with errors. Any ideas on why this is happening or if I should be concerned?

推荐答案

感谢您的提问,亚伦.这些错误消息实际上只是在跟踪/调试容器的输出,并不表示有任何错误.它们会以错误消息的形式写出来的事实已经在Kubernetes中得到修复,并且在下一版Kubernetes中会更好.

Thanks for the question, Aaron. Those error messages are actually just tracing/debugging output from the container and don't indicate that anything is wrong. The fact that they get written out as error messages has been fixed in Kubernetes at head and will be better in the next release of Kubernetes.

这篇关于Google容器引擎集群在日志中显示大量dns错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 12:54