linkerd2/controller/api/destination/watcher
Tuomo ba8a84c960
fix(destination): GetProfile requests targeting pods directly should return endpoint data for running (not necessarily ready) pods (#13557)
* fix(destination): GetProfile requests targeting pods directly should return endpoint data for running (not necessarily ready) pods

Requiring Pods to pass readiness checks before allowing Pod to Pod communication disrupts communication in e.g. clustered systems which require Pods to communicate with each other prior to establishing ready state and allowing inbound traffic.

Relaxed the requirement and modified the workload watcher to only require that a Pod exists and is in Running phase.

Reproduced the issue with a test setup described in #13247.

Fixes #13247.

---------

Signed-off-by: Tuomo <tjorri@gmail.com>
Co-authored-by: Alejandro Pedraza <alejandro@buoyant.io>
2025-01-16 16:55:31 -05:00
..
cluster_store.go Add federated service watcher (#13267) 2024-11-08 09:34:01 -08:00
cluster_store_test.go Add federated service watcher (#13267) 2024-11-08 09:34:01 -08:00
endpoints_watcher.go fix(destination): avoid panic on missing managed fields timestamp (#13378) 2024-11-22 15:21:09 -08:00
endpoints_watcher_test.go Rename meshTls to meshTLS in ExternalWorkload CRD (#12098) 2024-02-20 11:00:13 -08:00
k8s.go Add IPv6 support for the destination controller (#12428) 2024-05-02 14:39:05 -05:00
opaque_ports_watcher.go Add informer lag histograms (#11534) 2023-11-08 14:56:20 -05:00
opaque_ports_watcher_test.go build(deps): bump sigs.k8s.io/gateway-api from 0.5.1 to 0.6.0 (#10038) 2023-01-16 09:38:09 -05:00
profile_watcher.go Add informer lag histograms (#11534) 2023-11-08 14:56:20 -05:00
profile_watcher_test.go build(deps): bump sigs.k8s.io/gateway-api from 0.5.1 to 0.6.0 (#10038) 2023-01-16 09:38:09 -05:00
prometheus.go Add support for ExternalWorkloads in endpoint profiles (#11952) 2024-01-23 09:43:12 -08:00
test_util.go Add tests for federated service watcher (#13329) 2024-11-19 10:08:50 -08:00
workload_watcher.go fix(destination): GetProfile requests targeting pods directly should return endpoint data for running (not necessarily ready) pods (#13557) 2025-01-16 16:55:31 -05:00
workload_watcher_test.go Add support for ExternalWorkloads in endpoint profiles (#11952) 2024-01-23 09:43:12 -08:00