Kubernetes
Get service endpoints
Changed onReturns endpoints for a Kubernetes service. Shows which pods are backing the service and their ready state. Useful for debugging service-to-pod routing.
get/v1/kubernetes/endpoints/{namespace}/{serviceName}
Request
- Base URLhttp://kubefwd.internal/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
namespacestring required
Kubernetes namespace
serviceNamestring required
Service name
Query parameters
contextstring
Kubernetes context (uses current if omitted)
Response
Service endpoints
Example response
{
"error": {
"code": "NOT_FOUND",
"message": "Service not found"
}
}Changes
- info
added the non-success response with the status
- info
- info
endpoint added
- info