In Kubernetes, an EndpointSlice contains references to a set of network endpoints. The EndpointSlice controller automatically creates EndpointSlices for a Kubernetes Service when a selector is specified. These EndpointSlices will include references to any Pods that match the Service selector. EndpointSlices group network endpoints together by unique Service and Port combinations.By default, EndpointSlices managed by the EndpointSlice controller will have no more than 100 endpoints each. Below this scale, EndpointSlices should map 1:1 with Endpoints and Services and have similar performance.
Secara default, lalu lintas yang dikirim ke Layanan ClusterIP atau NodePort dapat dialihkan ke alamat backend apa pun untuk Layanan. Sejak Kubernetes 1.7 dimungkinkan untuk merutekan lalu lintas "eksternal" ke Pods yang berjalan di Node yang menerima lalu lintas, tetapi ini tidak didukung untuk Layanan ClusterIP, dan topologi yang lebih kompleks - seperti routing secara zonal - belum dimungkinkan. Fitur Topologi Layanan menyelesaikan masalah ini dengan mengizinkan pembuat Layanan untuk menentukan kebijakan untuk merutekan lalu lintas berdasarkan label Node untuk Node asal dan tujuan.
Kubernetes — , . , Kubernetes — , , , .