Your company is planning a migration to Google Kubernetes Engine. Your application team informed you that they require a minimum of 60 Pods per node and a maximum of 100 Pods per node Which Pod per node CIDR range should you use?
To determine the Pod per node CIDR range, you need to calculate how many IP addresses are required for each node, and then choose the smallest CIDR range that can accommodate that number. A CIDR range of /n means that there are 2^(32-n) IP addresses available in that range. For example, a /24 range has 2^(32-24) = 256 IP addresses.
According to the question, the application team requires a minimum of 60 Pods per node and a maximum of 100 Pods per node. Therefore, you need to choose a CIDR range that can provide at least 100 IP addresses per node, but not more than necessary. A /25 range has 2^(32-25) = 128 IP addresses, which is enough for 100 Pods per node. A /26 range has 2^(32-26) = 64 IP addresses, which is not enough for 60 Pods per node. A /24 range has 256 IP addresses, which is more than needed and wastes IP address space. A /28 range has 2^(32-28) = 16 IP addresses, which is far too small for any node.
1:Configure maximum Pods per node | Google Kubernetes Engine (GKE) | Google Cloud
Vanda
2 months agoJaime
2 months agoAleshia
2 months agoLavonna
2 months agoLatanya
2 months agoFlo
2 months agoNieves
3 months agoBuddy
3 months agoKristeen
2 months agoCordelia
2 months agoAngelo
2 months agoNina
3 months agoErnie
3 months agoBritt
3 months agoBeth
3 months agoRenea
3 months agoSharen
3 months agoMike
3 months agoArlie
4 months ago