Closed smira closed 2 years ago
The problem is that we're creating them every time we need them, but we never close them
Talos client is easy to close: just use .Close().
.Close()
Kubernetes HTTP client is tricky, but there's a way we did that in Talos: https://github.com/talos-systems/talos/commit/6d13d2cf9243adce739673f1982cbc1f12252ef1#diff-c97ec8241004eb2d4bc81231071540f96e7ebb84c15ed128b44285912bd2138a
I believe this is something important we should fix
The problem is that we're creating them every time we need them, but we never close them
Talos client is easy to close: just use
.Close()
.Kubernetes HTTP client is tricky, but there's a way we did that in Talos: https://github.com/talos-systems/talos/commit/6d13d2cf9243adce739673f1982cbc1f12252ef1#diff-c97ec8241004eb2d4bc81231071540f96e7ebb84c15ed128b44285912bd2138a