Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions latest/ug/automode/auto-networking.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,18 @@ For more information, see <<auto-configure-alb>> or <<auto-configure-nlb>>.

EKS Auto Mode does not use the traditional CoreDNS deployment to provide DNS resolution within the cluster. Instead, Auto Mode nodes utilize CoreDNS running as a system service directly on each node. If transitioning a traditional cluster to Auto Mode, you can remove the CoreDNS deployment from your cluster once your workloads have been moved to the Auto Mode nodes.

The pods running on Auto Mode nodes still use the conventional CoreDNS service cluster IP as their nameserver, even if the service is not present in the cluster. This is evident by the contents of the `/etc/resolv.conf` file of one of these pods. See the below example content of an `/etc/resolv.conf` file:
[source,bash,subs="verbatim,attributes"]
----
search default.svc.cluster.local svc.cluster.local cluster.local ec2.internal
nameserver 10.100.0.10
options ndots:5
----

While the pod configuration remains familiar, the underlying DNS traffic handling is different. In Auto Mode nodes, DNS traffic is routed directly to the local CoreDNS service through an IP route, rather than using iptables rules to reach CoreDNS pods. This routing is configured on each Auto Mode node with an entry similar to:
[source,bash,subs="verbatim,attributes"]
----
local 10.100.0.10 dev coredns table local proto kernel scope host src 10.100.0.10
----

IMPORTANT: If you plan to maintain a cluster with both Auto Mode and non-Auto Mode nodes, you must retain the CoreDNS deployment. Non-Auto Mode nodes rely on the traditional CoreDNS pods for DNS resolution, as they cannot access the node-level DNS service that Auto Mode provides.