netgroup-polito / CrownLabs

Kubernetes-based Remote Laboratories
https://crownlabs.polito.it
Apache License 2.0
107 stars 42 forks source link

IP of persistent instances changes across restarts #911

Open QcFe opened 1 month ago

QcFe commented 1 month ago

Describe the bug When a persistent instance is stopped, the corresponding service is deleted. Upon restart a new service is created, with a different IP address of course.

To Reproduce Start an instance, note the ip address. Stop it, restart it and note the associated IP is different.

Expected behavior The IP address is consistent across restarts.

Suggested fix Skipping service deletion on instance termination.