Seven managers are in a swarm cluster.
Is this how should they be distributed across three datacenters or availability zones?
Solution: 3-3-1
A Kubernetes node is allocated a /26 CIDR block (64 unique IPs) for its address space. This means that the node can assign up to 64 IP addresses to its resources, such as pods and containers. If every pod on this node has exactly two containers in it, then each pod will need two IP addresses, one for each container. Therefore, the node can support up to 32 pods, since 64 / 2 = 32. The other options are incorrect because they either exceed the available IP addresses or do not account for the number of containers per pod. Reference:
* CIDR Blocks and Container Engine for Kubernetes - Oracle
* How kubernetes assigns podCIDR for nodes? - Stack Overflow
Cristen
5 minutes agoRodolfo
1 days agoLavina
2 days ago