<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>About on Corentin Dupaigne</title><link>/</link><description>Recent content in About on Corentin Dupaigne</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 22 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="/index.xml" rel="self" type="application/rss+xml"/><item><title>How Does a ClusterIP Actually Work?</title><link>/journal/how-does-a-clusterip-actually-work/</link><pubDate>Tue, 22 Sep 2026 00:00:00 +0000</pubDate><guid>/journal/how-does-a-clusterip-actually-work/</guid><description>&lt;p>A ClusterIP is a Kubernetes resource that associates a stable virtual IP to a set of pods (a Service&amp;rsquo;s endpoints). It is a dumb entity. A load balancer (usually kube-proxy) then redirects the packet to the real IP of one of the pod replicas. By default the packet is redirected to a random replica with no preference, with a probability of 1/N (N being the number of replicas).&lt;/p>
&lt;figure>
 &lt;img src="20260922-174207.png" alt="ClusterIP virtual IP distributing traffic to pod replicas" width="688" height="677" style="--w: 688px" class="is-light" loading="lazy" decoding="async" />
 
&lt;/figure>&lt;h2 id="behind-the-scenes">Behind the scenes&lt;a class="heading-anchor" href="#behind-the-scenes" aria-label="Link to this section">#&lt;/a>&lt;/h2>
&lt;p>Because the ClusterIP is a dumb entity it cannot redirect the packets to its pods. So how does kube-proxy handle the load balancing, service → pod?&lt;/p></description></item></channel></rss>