Digital UniverseDocumentation

API Gateway

Publish stable application routes with clear timeouts and traffic policies.

Routes connect a host to a service#

A gateway route matches a hostname and path prefix, then sends a request to a ready service endpoint. Route names remain stable across service revisions, so deployments do not require clients to discover new instance addresses.

YAML
apiVersion: universe/v1
kind: GatewayRoute
metadata:
  name: catalog-public
spec:
  host: catalog.apps.universe.example
  pathPrefix: /v1/
  service: catalog
  timeoutSeconds: 20
  rateLimit:
    requestsPerMinute: 600

Understand gateway responses#

StatusMeaning
404No route matches the host and path
429The route rate limit was reached
502The upstream connection failed
503No ready service endpoints are available

Retry with care#

Retries are disabled for non-idempotent requests unless the application implements an idempotency key. Keep upstream timeouts shorter than the caller’s total request deadline.

Digital Universe DocumentationReference edition · v2.4

↑ ↓ to navigateEnter to openEsc to close