Endpoint Slice
Endpoint Slice is a Kubernetes resource used to streamline the management and scalability of network connections within a cluster. It groups endpoints together to improve networking efficiency by distributing connections across a cluster in a more organized manner. This is particularly useful for services that require highly scalable and resilient network configurations. For an in-depth understanding, please refer to the official Kubernetes documentation.
Terraform Mappings:
kubernetes_endpoints_slice_v1.metadata[0].name
kubernetes_endpoints_slice.metadata[0].name
Supported Methods​
GET
: Get a EndpointSlice by nameLIST
: List all EndpointSlicesSEARCH
: Search for a EndpointSlice using the ListOptions JSON format e.g. ("labelSelector": "app=wordpress")
Possible Links​
Node
​
EndpointSlices are related to Nodes because they distribute network traffic across the Nodes in a Kubernetes cluster, enhancing the scalability of the services offered.
Pod
​
EndpointSlices are closely linked to Pods, as they represent collections of network endpoints where each endpoint corresponds to a Pod. This relationship allows efficient routing and load balancing to the right Pods.
dns
​
EndpointSlices can interact with DNS configurations as they provide the underlying networking structure that DNS can point to, enabling service discovery within the cluster.
ip
​
Each endpoint within an EndpointSlice is typically assigned an IP, which serves as the key connectivity point within the network setup, fundamental for inter-Pod communication and external access.