dajudge/kindcontainer

Add a timeout for waiting connection to Kubernetes API server

Closed this issue · 0 comments

Apologies if I've overlooked anything, but could we consider adding a timeout to the connection attempt to the API server at https://github.com/dajudge/kindcontainer/blob/master/src/main/java/com/dajudge/kindcontainer/ApiServerContainer.java#L163?

We've encountered issues where we cannot connect to our container, causing the CI/CD pipeline to indefinitely hang. While we intend to address this issue on our end, implementing a default timeout for this connection could be beneficial.

If I've missed any details, please don't hesitate to correct me. Thank you!