<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>IP on Shaowen Chen's Website</title><link>https://www.chenshaowen.com/en/tags/ip/</link><description>Recent content in IP on Shaowen Chen's Website</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>&amp;copy;2016 - {year}, All Rights Reserved.</copyright><lastBuildDate>Thu, 02 Nov 2023 19:45:31 +0000</lastBuildDate><sy:updatePeriod>weekly</sy:updatePeriod><atom:link href="https://www.chenshaowen.com/en/tags/ip/atom.xml" rel="self" type="application/rss+xml"/><item><title>Source Code Analysis of Kubernetes Pod IP Management</title><link>https://www.chenshaowen.com/en/blog/source-analysis-kubernetes-management-of-pod-ip.html</link><pubDate>Thu, 02 Nov 2023 19:45:31 +0000</pubDate><atom:modified>Thu, 02 Nov 2023 19:45:31 +0000</atom:modified><guid>https://www.chenshaowen.com/en/blog/source-analysis-kubernetes-management-of-pod-ip.html</guid><description>1. Subnet Management by kube-controller-manager kube-controller-manager has many controllers; the one related to Pod IP is NodeIpamController. The NodeIpamController mainly manages the podcidr of nodes: when a new node joins the cluster, it allocates a subnet to that node; when a node is deleted, it reclaims the subnet. The subnets</description><dc:creator>微信公众号</dc:creator><category>Source Code Analysis</category><category>Kubernetes</category><category>Pod</category><category>IP</category><category>Network</category><category>Learning</category><category>Operations</category></item><item><title>How to Get the Real Client IP in Kubernetes</title><link>https://www.chenshaowen.com/en/blog/how-to-get-the-real-ip-of-client-in-kubernetes.html</link><pubDate>Fri, 20 Nov 2020 17:22:45 +0000</pubDate><atom:modified>Fri, 20 Nov 2020 17:22:45 +0000</atom:modified><guid>https://www.chenshaowen.com/en/blog/how-to-get-the-real-ip-of-client-in-kubernetes.html</guid><description>Kubernetes relies on the kube-proxy component to implement Service communication and load balancing. In this process, because SNAT is used to translate the source address, a service in a Pod cannot obtain the real client IP address. This article mainly answers the question of how a workload in a Kubernetes cluster can obtain the real IP address of the client.</description><dc:creator>微信公众号</dc:creator><category>Kubernetes</category><category>IP</category><category>Network</category><category>Operations</category></item></channel></rss>