v1

latestOpenAPI 3.1.0Apache 2.02026-07-17471545.0 KB
Namespaces

Start watching a namespace

Start watching a Kubernetes namespace for services to forward

post/v1/namespaces

Request body

namespacestring required

Kubernetes namespace to watch

contextstring

Kubernetes context (defaults to current context)

selectorstring

Label selector to filter services

Example request

{
  "namespace": "staging",
  "context": "minikube",
  "selector": "app=myapp"
}

Response

Namespace watcher started

successboolean
dataobject

Example response

{
  "error": {
    "code": "NOT_FOUND",
    "message": "Service not found"
  }
}