Is there a way in Kubernetes or there's a network plugin on which we can limit the range of IP allocation. For example, I am trying to use weave and using a subnet 192.168.16.0/24
. I want to limit the allocation of IPs through Kubernetes to pods to the range of 192.168.16.10
-30
.
However, my app might use the rest of the IPs based on requirements i.e. my app can start a virtual IP from 192.168.16.31
-50
but I want some mechanism to make sure that the IP range I specified will not be allocated by K8s and my app can consume that.
I need something like this: https://www.weave.works/docs/net/latest/tasks/ipam/configuring-weave/.