Skip to content

Instantly share code, notes, and snippets.

@karthik101
Created November 20, 2018 10:33
Show Gist options
  • Save karthik101/7bde694e298a8a4749f19b0d9331a6c1 to your computer and use it in GitHub Desktop.
Save karthik101/7bde694e298a8a4749f19b0d9331a6c1 to your computer and use it in GitHub Desktop.
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
KUBE-DNS POD LOGS
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
[root@node1 kubespray-2.6.0]# kubectl logs kube-dns-69f4c8fc58-lx9hh kubedns -n kube-system
I1116 21:14:02.092047 1 dns.go:48] version: 1.14.10
I1116 21:14:02.094033 1 server.go:69] Using configuration read from directory: /kube-dns-config with period 10s
I1116 21:14:02.094167 1 server.go:121] FLAG: --alsologtostderr="false"
I1116 21:14:02.094184 1 server.go:121] FLAG: --config-dir="/kube-dns-config"
I1116 21:14:02.094198 1 server.go:121] FLAG: --config-map=""
I1116 21:14:02.094205 1 server.go:121] FLAG: --config-map-namespace="kube-system"
I1116 21:14:02.094211 1 server.go:121] FLAG: --config-period="10s"
I1116 21:14:02.094219 1 server.go:121] FLAG: --dns-bind-address="0.0.0.0"
I1116 21:14:02.094225 1 server.go:121] FLAG: --dns-port="10053"
I1116 21:14:02.094233 1 server.go:121] FLAG: --domain="cluster.local."
I1116 21:14:02.094241 1 server.go:121] FLAG: --federations=""
I1116 21:14:02.094249 1 server.go:121] FLAG: --healthz-port="8081"
I1116 21:14:02.094255 1 server.go:121] FLAG: --initial-sync-timeout="1m0s"
I1116 21:14:02.094262 1 server.go:121] FLAG: --kube-master-url=""
I1116 21:14:02.094276 1 server.go:121] FLAG: --kubecfg-file=""
I1116 21:14:02.094282 1 server.go:121] FLAG: --log-backtrace-at=":0"
I1116 21:14:02.094291 1 server.go:121] FLAG: --log-dir=""
I1116 21:14:02.094297 1 server.go:121] FLAG: --log-flush-frequency="5s"
I1116 21:14:02.094303 1 server.go:121] FLAG: --logtostderr="true"
I1116 21:14:02.094309 1 server.go:121] FLAG: --nameservers=""
I1116 21:14:02.094315 1 server.go:121] FLAG: --stderrthreshold="2"
I1116 21:14:02.094321 1 server.go:121] FLAG: --v="2"
I1116 21:14:02.094327 1 server.go:121] FLAG: --version="false"
I1116 21:14:02.094336 1 server.go:121] FLAG: --vmodule=""
I1116 21:14:02.094391 1 server.go:169] Starting SkyDNS server (0.0.0.0:10053)
I1116 21:14:02.094635 1 server.go:179] Skydns metrics enabled (/metrics:10055)
I1116 21:14:02.094649 1 dns.go:188] Starting endpointsController
I1116 21:14:02.094656 1 dns.go:191] Starting serviceController
I1116 21:14:02.094735 1 dns.go:184] Configuration updated: {TypeMeta:{Kind: APIVersion:} Federations:map[] StubDomains:map[] UpstreamNameservers:[]}
I1116 21:14:02.094879 1 logs.go:41] skydns: ready for queries on cluster.local. for tcp://0.0.0.0:10053 [rcache 0]
I1116 21:14:02.094892 1 logs.go:41] skydns: ready for queries on cluster.local. for udp://0.0.0.0:10053 [rcache 0]
I1116 21:14:02.597179 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:03.095065 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:03.595715 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:04.095134 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:04.594986 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:05.095548 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
E1116 21:14:05.103093 1 reflector.go:201] k8s.io/dns/pkg/dns/dns.go:192: Failed to list *v1.Service: Get https://10.233.0.1:443/api/v1/services?resourceVersion=0: dial tcp 10.233.0.1:443: getsockopt: no route to host
E1116 21:14:05.103099 1 reflector.go:201] k8s.io/dns/pkg/dns/dns.go:189: Failed to list *v1.Endpoints: Get https://10.233.0.1:443/api/v1/endpoints?resourceVersion=0: dial tcp 10.233.0.1:443: getsockopt: no route to host
I1116 21:14:05.595310 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:06.098722 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:06.595025 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:07.095137 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:07.595225 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:08.099967 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
E1116 21:14:08.169526 1 reflector.go:201] k8s.io/dns/pkg/dns/dns.go:192: Failed to list *v1.Service: Get https://10.233.0.1:443/api/v1/services?resourceVersion=0: dial tcp 10.233.0.1:443: getsockopt: no route to host
E1116 21:14:08.169682 1 reflector.go:201] k8s.io/dns/pkg/dns/dns.go:189: Failed to list *v1.Endpoints: Get https://10.233.0.1:443/api/v1/endpoints?resourceVersion=0: dial tcp 10.233.0.1:443: getsockopt: no route to host
I1116 21:14:08.596070 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:09.094982 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:09.595274 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:10.096174 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:10.597772 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:11.095384 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
E1116 21:14:11.176203 1 reflector.go:201] k8s.io/dns/pkg/dns/dns.go:189: Failed to list *v1.Endpoints: Get https://10.233.0.1:443/api/v1/endpoints?resourceVersion=0: dial tcp 10.233.0.1:443: getsockopt: no route to host
E1116 21:14:11.176489 1 reflector.go:201] k8s.io/dns/pkg/dns/dns.go:192: Failed to list *v1.Service: Get https://10.233.0.1:443/api/v1/services?resourceVersion=0: dial tcp 10.233.0.1:443: getsockopt: no route to host
I1116 21:14:11.596190 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:12.095149 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:12.595992 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:13.096093 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:13.597259 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:14.095609 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
E1116 21:14:14.183247 1 reflector.go:201] k8s.io/dns/pkg/dns/dns.go:192: Failed to list *v1.Service: Get https://10.233.0.1:443/api/v1/services?resourceVersion=0: dial tcp 10.233.0.1:443: getsockopt: no route to host
E1116 21:14:14.183265 1 reflector.go:201] k8s.io/dns/pkg/dns/dns.go:189: Failed to list *v1.Endpoints: Get https://10.233.0.1:443/api/v1/endpoints?resourceVersion=0: dial tcp 10.233.0.1:443: getsockopt: no route to host
I1116 21:14:14.597954 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:15.096336 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:15.594978 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:16.098582 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:16.596609 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:17.095106 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
E1116 21:14:17.189541 1 reflector.go:201] k8s.io/dns/pkg/dns/dns.go:189: Failed to list *v1.Endpoints: Get https://10.233.0.1:443/api/v1/endpoints?resourceVersion=0: dial tcp 10.233.0.1:443: getsockopt: no route to host
E1116 21:14:17.189755 1 reflector.go:201] k8s.io/dns/pkg/dns/dns.go:192: Failed to list *v1.Service: Get https://10.233.0.1:443/api/v1/services?resourceVersion=0: dial tcp 10.233.0.1:443: getsockopt: no route to host
I1116 21:14:17.595579 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:18.095692 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:18.595280 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:19.102308 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:19.595376 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:20.095181 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
E1116 21:14:20.194646 1 reflector.go:201] k8s.io/dns/pkg/dns/dns.go:192: Failed to list *v1.Service: Get https://10.233.0.1:443/api/v1/services?resourceVersion=0: dial tcp 10.233.0.1:443: getsockopt: no route to host
E1116 21:14:20.194747 1 reflector.go:201] k8s.io/dns/pkg/dns/dns.go:189: Failed to list *v1.Endpoints: Get https://10.233.0.1:443/api/v1/endpoints?resourceVersion=0: dial tcp 10.233.0.1:443: getsockopt: no route to host
I1116 21:14:20.595845 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:21.097773 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:21.595983 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
I1116 21:14:22.095319 1 dns.go:219] Waiting for [endpoints services] to be initialized from apiserver...
[root@node1 kubespray-2.6.0]# kubectl logs kube-dns-69f4c8fc58-lx9hh dnsmasq -n kube-system
I1116 21:14:02.202208 1 main.go:74] opts: {{/usr/sbin/dnsmasq [-k --cache-size=1000 --log-facility=- --server=/cluster.local/127.0.0.1#10053 --server=/in-addr.arpa/127.0.0.1#10053 --server=/ip6.arpa/127.0.0.1#10053] true} /etc/k8s/dns/dnsmasq-nanny 10000000000}
I1116 21:14:02.202469 1 nanny.go:94] Starting dnsmasq [-k --cache-size=1000 --log-facility=- --server=/cluster.local/127.0.0.1#10053 --server=/in-addr.arpa/127.0.0.1#10053 --server=/ip6.arpa/127.0.0.1#10053]
I1116 21:14:03.215460 1 nanny.go:119]
W1116 21:14:03.215486 1 nanny.go:120] Got EOF from stdout
I1116 21:14:03.215539 1 nanny.go:116] dnsmasq[12]: started, version 2.78 cachesize 1000
I1116 21:14:03.215573 1 nanny.go:116] dnsmasq[12]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth no-DNSSEC loop-detect inotify
I1116 21:14:03.215583 1 nanny.go:116] dnsmasq[12]: using nameserver 127.0.0.1#10053 for domain ip6.arpa
I1116 21:14:03.215591 1 nanny.go:116] dnsmasq[12]: using nameserver 127.0.0.1#10053 for domain in-addr.arpa
I1116 21:14:03.215598 1 nanny.go:116] dnsmasq[12]: using nameserver 127.0.0.1#10053 for domain cluster.local
I1116 21:14:03.215635 1 nanny.go:116] dnsmasq[12]: reading /etc/resolv.conf
I1116 21:14:03.215644 1 nanny.go:116] dnsmasq[12]: using nameserver 127.0.0.1#10053 for domain ip6.arpa
I1116 21:14:03.215651 1 nanny.go:116] dnsmasq[12]: using nameserver 127.0.0.1#10053 for domain in-addr.arpa
I1116 21:14:03.215659 1 nanny.go:116] dnsmasq[12]: using nameserver 127.0.0.1#10053 for domain cluster.local
I1116 21:14:03.215666 1 nanny.go:116] dnsmasq[12]: using nameserver 10.10.10.0#53
I1116 21:14:03.215683 1 nanny.go:116] dnsmasq[12]: read /etc/hosts - 7 addresses
[root@node1 kubespray-2.6.0]# kubectl logs kube-dns-69f4c8fc58-lx9hh sidecar -n kube-system
I1116 21:14:02.349493 1 main.go:51] Version v1.14.8.3
I1116 21:14:02.349587 1 server.go:45] Starting server (options {DnsMasqPort:53 DnsMasqAddr:127.0.0.1 DnsMasqPollIntervalMs:5000 Probes:[{Label:kubedns Server:127.0.0.1:10053 Name:kubernetes.default.svc.cluster.local. Interval:5s Type:1} {Label:dnsmasq Server:127.0.0.1:53 Name:kubernetes.default.svc.cluster.local. Interval:5s Type:1}] PrometheusAddr:0.0.0.0 PrometheusPort:10054 PrometheusPath:/metrics PrometheusNamespace:kubedns})
I1116 21:14:02.349635 1 dnsprobe.go:75] Starting dnsProbe {Label:kubedns Server:127.0.0.1:10053 Name:kubernetes.default.svc.cluster.local. Interval:5s Type:1}
I1116 21:14:02.350104 1 dnsprobe.go:75] Starting dnsProbe {Label:dnsmasq Server:127.0.0.1:53 Name:kubernetes.default.svc.cluster.local. Interval:5s Type:1}
W1116 21:14:02.350710 1 server.go:64] Error getting metrics from dnsmasq: read udp 127.0.0.1:47410->127.0.0.1:53: read: connection refused
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment