In 𝘊𝘪𝘭𝘪𝘶𝘮 𝘞𝘦𝘦𝘬𝘭𝘺 𝘌𝘱𝘪𝘴𝘰𝘥𝘦 45, I am exploring 𝐋𝐨𝐜𝐚𝐥 𝐑𝐞𝐝𝐢𝐫𝐞𝐜𝐭 𝐏𝐨𝐥𝐢𝐜𝐲 (𝐋𝐑𝐏), a traffic engineering feature that redirects service-bound traffic to local backends - meaning that you can force traffic from Pods to a Service to never leave the node.
Main benefit? 𝑹𝒆𝒅𝒖𝒄𝒊𝒏𝒈 𝒍𝒂𝒕𝒆𝒏𝒄𝒚. It's similar to concepts like 𝘛𝘰𝘱𝘰𝘭𝘰𝘨𝘺 𝘈𝘸𝘢𝘳𝘦 𝘙𝘰𝘶𝘵𝘪𝘯𝘨 and preferring traffic to stay in a zone - but this time, we're using 𝐞𝐁𝐏𝐅 to keep traffic within the node itself.
The most common LRP use case is to optimize 𝐃𝐍𝐒: we combine LRP with a Kubernetes feature called 𝘕𝘰𝘥𝘦𝘓𝘰𝘤𝘢𝘭 𝘋𝘕𝘚 𝘊𝘢𝘤𝘩𝘦 to keep DNS traffic local, improving latency.
Watch the video to learn more.
Негізгі бет Cilium Weekly 45 - Local Redirect Policy
Пікірлер