cord@node1:~/helm-charts$ kubectl -n kube-system logs kube-dns-7bd4d5fbb6-c6tlh kubedns
I0914 13:30:50.684351 1 dns.go:48] version: 1.14.10
I0914 13:30:50.689707 1 server.go:69] Using configuration read from directory: /kube-dns-config with period 10s
I0914 13:30:50.689784 1 server.go:121] FLAG: --alsologtostderr="false"
I0914 13:30:50.689798 1 server.go:121] FLAG: --config-dir="/kube-dns-config"
I0914 13:30:50.689807 1 server.go:121] FLAG: --config-map=""
I0914 13:30:50.689813 1 server.go:121] FLAG: --config-map-namespace="kube-system"
I0914 13:30:50.689818 1 server.go:121] FLAG: --config-period="10s"
I0914 13:30:50.689826 1 server.go:121] FLAG: --dns-bind-address="0.0.0.0"
I0914 13:30:50.689832 1 server.go:121] FLAG: --dns-port="10053"
I0914 13:30:50.689841 1 server.go:121] FLAG: --domain="cluster.local."
I0914 13:30:50.689849 1 server.go:121] FLAG: --federations=""
I0914 13:30:50.689857 1 server.go:121] FLAG: --healthz-port="8081"
I0914 13:30:50.689863 1 server.go:121] FLAG: --initial-sync-timeout="1m0s"
I0914 13:30:50.689868 1 server.go:121] FLAG: --kube-master-url=""
I0914 13:30:50.689875 1 server.go:121] FLAG: --kubecfg-file=""
I0914 13:30:50.689881 1 server.go:121] FLAG: --log-backtrace-at=":0"
I0914 13:30:50.689889 1 server.go:121] FLAG: --log-dir=""
I0914 13:30:50.689896 1 server.go:121] FLAG: --log-flush-frequency="5s"
I0914 13:30:50.689901 1 server.go:121] FLAG: --logtostderr="true"
I0914 13:30:50.689907 1 server.go:121] FLAG: --nameservers=""
I0914 13:30:50.689912 1 server.go:121] FLAG: --stderrthreshold="2"
I0914 13:30:50.689918 1 server.go:121] FLAG: --v="2"
I0914 13:30:50.689923 1 server.go:121] FLAG: --version="false"
I0914 13:30:50.689932 1 server.go:121] FLAG: --vmodule=""
I0914 13:30:50.690050 1 server.go:169] Starting SkyDNS server (
0.0.0.0:10053)
I0914 13:30:50.690382 1 server.go:179] Skydns metrics enabled (/metrics:10055)
I0914 13:30:50.690396 1 dns.go:188] Starting endpointsController
I0914 13:30:50.690402 1 dns.go:191] Starting serviceController
I0914 13:30:50.690502 1 dns.go:184] Configuration updated: {TypeMeta:{Kind: APIVersion:} Federations:map[] StubDomains:map[] UpstreamNameservers:[]}
I0914 13:30:50.693195 1 logs.go:41] skydns: ready for queries on cluster.local. for tcp://
0.0.0.0:10053 [rcache 0]
I0914 13:30:50.693222 1 logs.go:41] skydns: ready for queries on cluster.local. for udp://
0.0.0.0:10053 [rcache 0]
I0914 13:30:51.197440 1 dns.go:222] Initialized services and endpoints from apiserver
I0914 13:30:51.197469 1 server.go:137] Setting up Healthz Handler (/readiness)
I0914 13:30:51.197485 1 server.go:142] Setting up cache handler (/cache)
I0914 13:30:51.197494 1 server.go:128] Status HTTP port 8081
I0917 09:25:15.717215 1 dns.go:601] Could not find endpoints for service "freeradius" in namespace "voltha". DNS records will be created once endpoints show up.
I0917 09:25:15.811153 1 dns.go:601] Could not find endpoints for service "netconf" in namespace "voltha". DNS records will be created once endpoints show up.
I0917 09:25:16.039319 1 dns.go:601] Could not find endpoints for service "vcore" in namespace "voltha". DNS records will be created once endpoints show up.
I0917 09:26:09.983292 1 dns.go:601] Could not find endpoints for service "etcd-cluster" in namespace "default". DNS records will be created once endpoints show up.
cord@node1:~/helm-charts$ kubectl -n kube-system logs kube-dns-7bd4d5fbb6-c6tlh dnsmasq
I0916 17:51:08.776540 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}
I0916 17:51:08.869265 1 nanny.go:119]
W0916 17:51:08.869293 1 nanny.go:120] Got EOF from stdout
I0916 17:51:08.869352 1 nanny.go:116] dnsmasq[9]: started, version 2.78 cachesize 1000
I0916 17:51:08.869390 1 nanny.go:116] dnsmasq[9]: 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
I0916 17:51:08.869421 1 nanny.go:116] dnsmasq[9]: using nameserver 127.0.0.1#10053 for domain ip6.arpa
I0916 17:51:08.869446 1 nanny.go:116] dnsmasq[9]: using nameserver 127.0.0.1#10053 for domain in-addr.arpa
I0916 17:51:08.869469 1 nanny.go:116] dnsmasq[9]: using nameserver 127.0.0.1#10053 for domain cluster.local
I0916 17:51:08.869535 1 nanny.go:116] dnsmasq[9]: reading /etc/resolv.conf
I0916 17:51:08.869563 1 nanny.go:116] dnsmasq[9]: using nameserver 127.0.0.1#10053 for domain ip6.arpa
I0916 17:51:08.869586 1 nanny.go:116] dnsmasq[9]: using nameserver 127.0.0.1#10053 for domain in-addr.arpa
I0916 17:51:08.869609 1 nanny.go:116] dnsmasq[9]: using nameserver 127.0.0.1#10053 for domain cluster.local
I0916 17:51:08.869633 1 nanny.go:116] dnsmasq[9]: using nameserver 10.233.0.3#53
I0916 17:51:08.869714 1 nanny.go:116] dnsmasq[9]: read /etc/hosts - 7 addresses
cord@node1:~/helm-charts$ kubectl -n kube-system logs kube-dns-7bd4d5fbb6-c6tlh sidecar
I0916 17:51:15.199545 1 main.go:51] Version v1.14.8.3
I0916 17:51:15.199834 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})
I0916 17:51:15.199947 1 dnsprobe.go:75] Starting dnsProbe {Label:kubedns Server:
127.0.0.1:10053 Name:kubernetes.default.svc.cluster.local. Interval:5s Type:1}
I0916 17:51:15.203488 1 dnsprobe.go:75] Starting dnsProbe {Label:dnsmasq Server:
127.0.0.1:53 Name:kubernetes.default.svc.cluster.local. Interval:5s Type:1}
DNS service is up:
cord@node1:~/helm-charts$ kubectl get svc --namespace=kube-system
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kube-dns ClusterIP 10.233.0.3 <none> 53/UDP,53/TCP 17d
kubernetes-dashboard ClusterIP 10.233.55.167 <none> 443/TCP 17d
tiller-deploy ClusterIP 10.233.31.12 <none> 44134/TCP 17d
DNS endpoints are exposed:
cord@node1:~/helm-charts$ kubectl get ep kube-dns --namespace=kube-system
NAME ENDPOINTS AGE
The VM is running Ubuntu server 16.04 and uses a static IP address:
cord@node1:~/helm-charts$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto enp0s8
iface enp0s8 inet static
address 10.85.185.188
gateway 10.85.185.145
netmask 255.255.255.224
Version of kubectl:
cord@node1:~/helm-charts$ kubectl version
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.4", GitCommit:"5ca598b4ba5abb89bb773071ce452e33fb66339d", GitTreeState:"clean", BuildDate:"2018-06-06T08:00:59Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.4", GitCommit:"5ca598b4ba5abb89bb773071ce452e33fb66339d", GitTreeState:"clean", BuildDate:"2018-06-06T08:00:59Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
I have already tried various solutions suggested on the internet, with no luck.
Is it maybe some DNS configuration missing or a misconfiguration?
Any idea on how to solve this or what to further check?
Thanks