get_endpoints
Identify why a Service has no endpoints by verifying pod selectors, ready endpoints, and targetPort vs containerPort mismatches.
Instructions
Service -> EndpointSlice: matching pods, ready endpoints, targetPort vs containerPort mismatches. Catches the classic 'selector matches nothing'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | No | Workload name as you would say it: a Deployment, StatefulSet, DaemonSet, Service, or Pod name | |
| namespace | No | Kubernetes namespace (required: no default configured; see list_namespaces) |