Skip to content

[Backport] Make the HTTP client that lives beneath fabric8 KubernetesClient configurable#18670

Merged
cecemei merged 1 commit intoapache:35.0.0from
cecemei:backport-18540-to-35.0.0
Oct 21, 2025
Merged

[Backport] Make the HTTP client that lives beneath fabric8 KubernetesClient configurable#18670
cecemei merged 1 commit intoapache:35.0.0from
cecemei:backport-18540-to-35.0.0

Conversation

@cecemei
Copy link
Copy Markdown
Contributor

@cecemei cecemei commented Oct 21, 2025

Backport of #18540 to 35.0.0.

…igurable (apache#18540)

* Make the httpclient backing fabric8 KubernetesClient pluggable

* fix checkstyle

* fix licenses

* Cleanup prefixes for pluggable http client config

* Default okhttp and native jdk http client threadpools to static 20 threads

* experimental docs for http client config

* Cleanup docs and make native jdk client name more specific

* Fix unit tests

* fix dependency analyzer

* Make okhttp use the custom executor by default and bump its thread count

Also enforce proper setting of max threads for okhttp

* make native jdk http client configs more robust

* fix checkstyle

* Flip to okhttp as underlying http client for fabric8

* Revert "Flip to okhttp as underlying http client for fabric8"

This reverts commit 8b40ab7.

* Turn off custom dispatcher for okhttp

* slim down docs for this experimental stuff and point to github issue
@cecemei cecemei merged commit 4f264bd into apache:35.0.0 Oct 21, 2025
6 checks passed
@cecemei cecemei added this to the 35.0.0 milestone Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants