EDITD / kubetools

:nut_and_bolt: Kubetools is a tool and processes for developing and deploying microservices to Kubernetes.
MIT License
13 stars 2 forks source link

Try to avoid duplicated dev networks #127

Closed gchazot closed 2 years ago

gchazot commented 2 years ago

Thanks @DilaraOflaz for the deep investigation of the root cause.

The problem appeared when 2 ktd commands are run simultaneously and the dev network did not exist prior to the commands being run. Then each command mawy create the network separately, without the docker daemon complaining about it.

Note that this may not fix 100% of cases (both networks might end up being removed) but at least it will leave the system in a state where retrying will work.

gchazot commented 2 years ago

Thanks @DilaraOflaz