-
Notifications
You must be signed in to change notification settings - Fork 625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
user-v2: make IP addresses deterministic #1785
Comments
This seems needed to keep the VM sshable after running cc @balajiv113 |
@AkihiroSuda With a normal reboot from vm it still works without issues. Are you talking about any race condition ?? |
Yes, seems a race. Just observed an unsshable reboot once. (Deterministic IP is still desired for multi-node Kube though) |
Just question, are you considering Deterministic IPs also for |
For |
Understood, thanks for clarification. Now I understand why you focus With |
An approach for implementing this, i was thinking of serializing the leases to a json file on stop of user-v2 and on startup of user-v2 daemon we could pass through the same for static leases. This way we will get deterministic ip as long as mac address stays the same. This requires zero changes from gvisor-tap-vsock as well |
SGTM 👍 |
#1181 (reply in thread)
The text was updated successfully, but these errors were encountered: