title: Understanding actual and virtual subnets in Kubernetes
body: <p>I'm setting up a self-managed Kubernetes cluster on AWS, using three instances in a VPC with CIDR <code>10.0.0.0/16</code>, and a single AWS subnet <code>10.0.10.0/24</code> for all instances/nodes.</p>
  <p>When it comes to initializing the cluster using <code>Kubeadm</code>, and specifiying the <code>--pod-network-cidr</code>, can this CIDR be anything? Or does it need to align with the AWS subnet that the host instances (control plane and workers) are on?</p>
  <p>Same goes for Cilium network, service networks... Can they all be anything, or must it align with the actual host subnet?</p>
  <p>I haven't found any good documentation on the possible (and not possible) subnet configurations for self-managed clusters.</p>