azure-container-networking: CNI/IPAM plugin on Ubuntu 17.10 breaks DNS
Is this a request for help?:
yes
Is this an ISSUE or FEATURE REQUEST? (choose one):
ISSUE
Which release version?:
v1.0.3
Which componenet (CNI/IPAM/CNM/CNS):
CNI/IPAM
Which Orchestrator and version (e.g. Kubernetes, Docker) Kubernetes
What happened:
Activating the CNI plugin on Ubuntu 17.10 breaks name resolution (DNS). The switch from eth0
to azure0
leaves DNS in an unusable state.
What you expected to happen: DNS should continue to work
How to reproduce it (as minimally and precisely as possible):
- Provision a Kubernetes cluster with an Ubuntu 17.10 node and CNI/IPAM configured
- Schedule a pod
- Pod starts to run and errors with
ErrImagePull
due to being unable to resolvedocker.io
to pull images
At this point, the node must be rebooted for DNS to work again.
Anything else we need to know:
Ubuntu 17.10 uses systemd-resolved
as a caching, stub nameserver. More info here: http://manpages.ubuntu.com/manpages/xenial/man8/systemd-resolved.service.8.html
cc @lachie83
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 18 (10 by maintainers)
@tamilmani1989 @cpressland would #345 fix this?