DevOps in K8s — PodTopologySpread
<blockquote>
<p><em>N</em><strong><em>ote, full “DevOps in K8s” mind map is available at: “</em></strong><a href="https://github.com/metaleapca/metaleap-devops-in-k8s/blob/main/metaleap-devops-in-k8s.pdf" rel="noopener ugc nofollow" target="_blank"><strong><em>DevOps in K8s Mind Map</em></strong></a><strong><em>”</em></strong></p>
</blockquote>
<h1>What is PodTopologySpread?</h1>
<p><code>PodTopologySpread</code> (formerly known as "EvenPodsSpread") is a scheduling feature in K8s that aims to achieve a balanced distribution of pods across different topologies. Common examples are nodes, racks, zones, or even custom-defined domains that can be labeled within a cluster.</p>
<p>The purpose of <code>PodTopologySpread</code> is to ensure that the workload is not concentrated in a few nodes or zones but instead is evenly distributed.</p>
<p>An example of <code>PodTopologySpread</code> definition looks like:</p>
<p><a href="https://tonylixu.medium.com/devops-in-k8s-podtopologyspread-e5d583571837"><strong>Website</strong></a></p>