Add --static-ip
flag
#15523
Labels
area/networking
networking issues
co/docker-driver
Issues related to kubernetes in container
priority/backlog
Higher priority than priority/awaiting-more-evidence.
A
--static-ip
flag should be added to minikube start, this flag will only be for Docker and Podman (for now anyway).This flag will operate somewhat similarly to the
--subnet
flag.Currently a CIDR passed to
--subnet
assigns values as follows:This should be modified so the first IP is MinClient:
This will ensure that
minikube ip
will be the IP the user passed in.To ensure that we get the desired IPs a mask of
/30
should likely be used as that will give us a range of 4 values, this will require that the last digit of the IP is <= 252.Opposed to the
--subnet
flag there shouldn't be any incrementing and retrying if the range specified is in use, if it's in use we should fail the start.Example of desired output if network is free:
The text was updated successfully, but these errors were encountered: