Closed
Description
In researching potential workarounds for #533 I was attempting to use the constructors where I could supply my own HttpClient
.
These constructors appear to be non functional with the Watch behaviors and will hang and then eventually hit a timeout after 100 seconds. This appears to be due to some of the specialized logic that gets evaluated when the Kubernetes
client constructs it's own HttpClient
.
To meet what I would expect as a consumer of the library, one of the following should happen:
- Constructors that are not fully compatible with all functionality of the library would not be externally available.
- Any
HttpClient
with any configuration passed to the library is able to be used. This assumes that either the code is refactored to not require special changes to theHttpClient
or it applies the needed changes in a way that is safe to allHttpClients
. - Tools that can be used externally from the library to properly prepare a
HttpClient
for use with the library are provided, and the constructors that consume aHttpClient
validate that theHttpClient
is "prepared" for use with the library, and all of this is heavily documented.