Kubernetes
List pods in a namespace
Changed onReturns pods with status, ready state, restarts, and age. Filter by label selector or service name.
get/v1/kubernetes/pods/{namespace}
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
Query parameters
contextstring
Kubernetes context (uses current if omitted)
labelSelectorstring
Label selector to filter pods (e.g., "app=nginx,version=v1")
serviceNamestring
Filter to pods backing this service
Response
List of pods
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