<p>When we use kubeadm to set up a k8s cluster, there are two options to config:</p>

<p><code>--pod-network-cidr</code></p>

<p><code>--service-cidr</code> (default ‘10.96.0.0/12’)</p>

<p>Question is:</p>

<ol>
<li><p>If I use <code>10.244.0.0./12</code> for <code>pod-network-cidr</code>, do I need to save that IP range for Kubernetes? What happens if we already start to use <code>10.244.0.0/12</code> for other machines.</p></li>
<li><p>Can I set <code>service-cidr</code> and the <code>pod-network-cidr</code> the same range? I don't understand how <code>service-cidr</code> works.</p></li>
</ol>

xren
<p>To reply briefly:</p>

<ul>
<li><ol>
<li>You do have to reserve <strong>both</strong> the pod-network range and the service network range. You can't use those on your LAN (and you can't have routes to it). Both ranges are configurable so you can pick something that is not used. Use ipcalc if you are unsure.</li>
</ol></li>
<li><ol start="2">
<li>You have to use separate ranges.</li>
</ol></li>
</ul>

<p>Check out <a href="https://www.slideshare.net/CJCullen/kubernetes-networking-55835829" rel="noreferrer">these slides</a> for explanation about the different networks in play.</p>
