From b0a3460efa0061683ddf3d322176ef5abc07ac12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Petazzoni?= Date: Wed, 22 Oct 2025 17:05:54 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=9C=20Add=20details=20about=20Traffic?= =?UTF-8?q?=20Distribution?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit KEP4444 hit GA in 1.33, so I've updated the relevant slide --- slides/k8s/service-types.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/slides/k8s/service-types.md b/slides/k8s/service-types.md index c5614ad8..c4c848d9 100644 --- a/slides/k8s/service-types.md +++ b/slides/k8s/service-types.md @@ -421,15 +421,21 @@ class: extra-details - [KEP4444, Traffic Distribution for Services][kep4444] -- In alpha since Kubernetes 1.30, beta since Kubernetes 1.31 +- Supersedes topology aware routing -- Should eventually supersede topology aware routing +- Multiple values are supported -- Can be set to `PreferClose` (more values might be supported later) +- `PreferClose` (alpha since K8S 1.30, beta since K8S 1.31, stable since K8S 1.33) -- The meaning of `PreferClose` is implementation dependent + "try to route traffic to endpoints in the same zone as the client" - (with kube-proxy, it should work like topology aware routing: stay in a zone) +- `PreferSameZone` (beta since K8S 1.34) + + "same as `PreferClose` but clearer about the intended semantics" + +- `PreferSameNode` (beta since K8S 1.34) + + "try to route traffic to endpoints on the same node as the client" [kep4444]: https://github.com/kubernetes/enhancements/issues/4444