Why Kubedns fails to launch with Kubernetes 1.2 in Red Hat Enterprise Linux 7.2 ?
Issue
- Why Kubedns fails to launch with Kubernetes 1.2 in Red Hat Enterprise Linux 7.2 ?
Snips from few commands
# kubectl get pods --all-namespaces
kube-system kube-dns-v18-04e4o 2/3 CrashLoopBackOff 6 11m
# kubectl describe pods kube-dns-v18-04e4o --namespace=kube-system
7s 7s 2 {kubelet } spec.containers{kubedns} Warning Unhealthy Readiness probe failed: Get http://192.168.0.1:8081/readiness: dial tcp 192.168.0.1:8081: connection refused
#kubectl logs kube-dns-v18-04e4o --namespace=kube-system -c kubedns
E0729 20:50:02.102685 1 reflector.go:216] pkg/dns/dns.go:155: Failed to list *api.Service: serializer for text/html; charset=utf-8 doesn't exist
E0729 20:50:02.189416 1 reflector.go:216] pkg/dns/dns.go:154: Failed to list *api.Endpoints: serializer for text/html; charset=utf-8 doesn't exist
Environment
- Red Hat Enterprise Linux 7.2
- kubernetes 1.0.3-0.2
- Kube/skydns replication controller taken from here. This replication manifest file can change. At this time of writing, arguments for kube-dns/skydns were
args:
# command = "/kube-dns"
- --domain=kube.local.
- --dns-port=10053
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
