Steps to replicate the issue (include links if applicable):
- Create a new lima-kilo VM with ./start-devenv.sh --ha
- Wait for Ansible to provision everything
- Stop the VM with limactl stop lima-kilo, then restart it with limactl start lima-kilo
What happens?:
- Some of the Docker containers managed by Kind are not restarted
- This leads to kubectl not working at all:
fran@lima-kilo:/Users/fran/wmf/lima-kilo$ kubectl get pods The connection to the server 127.0.0.1:35861 was refused - did you specify the right host or port?
What should have happened instead?:
- All containers should come back up after restarting the VM
Other information
Missing containers can be listed with docker ps -f "status=exited".
Manually restarting them with docker start {containername} fixes the issue does not fix all issues, because then I get:
fran@lima-kilo:/Users/fran/wmf/lima-kilo$ kubectl get pods Unable to connect to the server: EOF