networkop / k8s-topo

Topology builder for network simulations inside K8S
BSD 3-Clause "New" or "Revised" License
72 stars 18 forks source link

Node number limits #18

Closed cse578group29 closed 2 years ago

cse578group29 commented 2 years ago

Hello, is there any specific reason to set up the limits of nodes as 256*3 in the example/builder/builder ? Can k8s-topo support larger numbers of nodes? Thank you.

if num>256*3:
    print("Number of nodes cannot exceed {}".format(256*3))
    exit(0)
networkop commented 2 years ago

Yes, there's no upper limit for pods. The 256*3 limit comes from the maximum number of IPs in all 3 IPv4 demo ranges: https://github.com/networkop/k8s-topo/blob/master/examples/builder/builder#L12

cse578group29 commented 2 years ago

Thanks for the reply.