Help Center/ Cloud Container Engine/ Best Practices/ Networking/ CoreDNS Configuration Optimization/ Client/ Avoiding Occasional DNS Resolution Timeout Caused by IPVS Defects
Updated on 2024-11-12 GMT+08:00

Avoiding Occasional DNS Resolution Timeout Caused by IPVS Defects

Description

When kube-proxy uses IPVS load balancing, you may encounter DNS resolution timeout occasionally during CoreDNS scale-in or restart.

This problem is caused by a Linux kernel defect. For details, see https://github.com/torvalds/linux/commit/35dfb013149f74c2be1ff9c78f14e6a3cd1539d1.

Solution

You can use NodeLocal DNSCache to minimize the impact of IPVS defects. For details, see Using NodeLocal DNSCache to Improve DNS Performance.