Merry Christmas & Happy 2027! Less downtime. More good times. Celebrating 13 years of sorlavit.com
Skip to content
Sorlavit KimIT Support, Network & Infrastructure Services Let’s talk

Articles are written in English. The Thai translation button opens Google Translate; code and commands stay in their original form.

Kubernetes / Services, DNS & Traffic Routing

Map an EndpointSlice address back to its actual Pod and node

A service incident can affect only one published endpoint. Identify that endpoint before restarting the whole workload.

Compiled for Sorlavit Kim · Published · Updated · 1 min read

Environment and inputs: Kubernetes · kubectl with supported client/server versions and delegated RBAC. Examples use namespace app unless noted. Check context, namespace, APIs and provider support first.

Start with this check

Check which system and tools you are using. Replace example objects, namespaces, images, file paths and hosts with approved values. Remove sensitive information before sharing output. Follow the application owner’s process for changes.

kubectl -n app get endpointslices -l kubernetes.io/service-name=web -o yaml

What the results mean

Target references, addresses, node information and conditions help map traffic to the selected backend. Slices can be multiple and change during rollout.

Fix the cause and check again

Correlate the failing backend with its Pod logs, listener and node path. Repair the specific dependency and verify endpoint eligibility and request success.

Before changing production

Do not edit controller-managed EndpointSlices manually to hide an unhealthy Pod.

Share this article

Back to all articles