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.
بشكل افتراضي ، قد يتم توجيه حركة المرور المرسلة إلى ClusterIP أو خدمة NodePort إلى أي عنوان خلفية للخدمة. منذ Kubernetes 1.7 ، كان من الممكن توجيه حركة المرور "الخارجية" إلى Pods التي تعمل على العقدة التي تلقت حركة المرور ، ولكن هذا غير مدعوم لخدمات ClusterIP ، ولم تكن الطوبولوجيا الأكثر تعقيدًا - مثل التوجيه المنطقي - ممكنة. تحل ميزة طوبولوجيا الخدمة ذلك من خلال السماح لمنشئ الخدمة بتحديد سياسة لتوجيه حركة المرور استنادًا إلى تسميات العقدة للعقد الأصلية والوجهة.
Kubernetes — , . , Kubernetes — , , , .