Services
Forward a specific service
Changed onStart forwarding a specific Kubernetes service
post/v1/services
Request
- Base URLhttp://kubefwd.internal/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"namespace": "default",
"serviceName": "postgres",
"context": "minikube",
"ports": [
"5432"
],
"localIP": "127.1.2.100"
}Response
Service forwarding started
Example response
{
"error": {
"code": "NOT_FOUND",
"message": "Service not found"
}
}Changes
- info
added the non-success response with the status
- info
- info
removed the non-success response with the status
- info