kubedock
kubedock copied to clipboard
Port forward automatic retry
Hi I'm using your tool and I really like it. Currently I have a problem that some containers seem to open, close and reopen ports on startup and this causes the port forward feature to fail. Is it possible to change the code in a way that if you detect an abortion of the port forward the tool will automatically retry the port forward? This would make this feature more robust. Thanks Markus Ritter
P.S. if there is anything I can do to please let me know
I experimented with this some time ago. The approach I had was to watch the output that was produced by the ToPod port-forward, and act when the output was broken. The problem with this approach was that the reconnect happened after the error (which usually meant the test failed already) and I stopped investing time in this.