KCNA · Question #212
What is a Kubernetes Service Endpoint?
The correct answer is D. It is an object that gets IP addresses of individual Pods assigned to it. A Kubernetes Service Endpoint is an object that holds the IP addresses of the individual Pods backing a Service, allowing the Service to direct network traffic to them.
Question
What is a Kubernetes Service Endpoint?
Options
- AIt is the API Endpoint of our Kubernetes cluster.
- BIt is a name of special Pod in kube-system namespace.
- CIt is an IP address that we can access from the Internet.
- DIt is an object that gets IP addresses of individual Pods assigned to it.
How the community answered
(47 responses)- A2% (1)
- B6% (3)
- C2% (1)
- D89% (42)
Why each option
A Kubernetes Service Endpoint is an object that holds the IP addresses of the individual Pods backing a Service, allowing the Service to direct network traffic to them.
The Kubernetes API Endpoint refers to the address of the Kubernetes API server itself, which is distinct from a Service Endpoint.
A Service Endpoint is a Kubernetes API object, not a special Pod within the kube-system namespace.
While some Kubernetes Services (e.g., LoadBalancer) can expose an IP address accessible from the Internet, a Service Endpoint specifically refers to the internal list of backend Pod IPs, not the external access point of the Service.
A Kubernetes Endpoints object (often referred to as Service Endpoint) is automatically created and maintained by the Kubernetes control plane for each Service. It contains the list of IP addresses and ports of the healthy Pods that match the Service's selector, enabling the Service to route incoming network traffic to these backend Pods.
Concept tested: Kubernetes Service Endpoints
Source: https://kubernetes.io/docs/concepts/services-networking/service/#endpoints
Topics
Community Discussion
No community discussion yet for this question.