kubernetes/test/integration/apiserver/admissionwebhook
Antonio Ojea ede2fddcfd
webhook use resolved endpoint IP instead of cached
Previously, the webhook transport was switched from HTTP/2 to HTTP/1.1 to work around HTTP/2's single-connection multiplexing, which prevented concurrent requests from load-balancing across multiple backend pods. However, under HTTP/1.1, connections are kept alive and cached as idle in the transport's pool.

Because Go's http.Transport keys its connection cache by the request's URL Host (in this case the service name) and we overrode the DialContext to perform dynamic endpoint resolution, when a new request is sent, if there is an idle connection in the pool matching the service hostname, the connection is reused and the dialer is skipped.
2026-05-27 20:26:34 +00:00
..
admission_test.go promote MutatingAdmissionPolicy to v1: update plugin implementation 2026-02-18 17:51:43 +00:00
broken_webhook_test.go use default flags for apiserver on integration tests 2024-06-04 22:09:35 +00:00
client_auth_test.go drop v1alpha1 webhookadmission configuration 2026-03-03 13:31:09 -08:00
duplicate_owner_ref_test.go
invalid_managedFields_test.go
ip_reuse_test.go webhook use resolved endpoint IP instead of cached 2026-05-27 20:26:34 +00:00
load_balance_test.go webhook use resolved endpoint IP instead of cached 2026-05-27 20:26:34 +00:00
main_test.go
match_conditions_test.go Use Go 1.22 for-range in test/utils and test/integrations 2026-02-05 16:13:58 +01:00
mutating_webhook_gvk_conversion_test.go kep-3716 GA, remove feature gate 2024-02-29 14:14:19 -06:00
reinvocation_test.go
static_manifest_test.go Add integration tests for manifest-based admission control 2026-03-11 23:47:56 -07:00
timeout_test.go