Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Deployment

This template distinguishes between two maturity levels.

MVP

  • Docker Compose is the mandatory working baseline.
  • The default deployment points hex-core-service at an external HTTP io-adapter.
  • The default registry source is a local pinned catalog file mounted into the container.
  • The catalog uses explicit per-artifact URLs for each model entry.

Baseline structure:

Production template

  • Kubernetes manifests are included using Kustomize.
  • Secret handling is part of the production template path.
  • Operators may replace plain secret manifests with Sealed Secrets, SOPS, or external secret managers.

Baseline structure:

Adapter deployment modes

  • External adapter: default and documented baseline.
  • Internal adapter slot: supported as an optional extension point, not as the default template path.

Development overlay

The repository now includes a minimal development overlay:

  • dedicated namespace
  • debug logging
  • example cluster-local adapter URL override
  • insecure auth mode for development only

This overlay is not the production security model. It exists to make local and early-cluster testing easier.

Production overlay

The repository also includes a minimal production-oriented overlay:

  • dedicated production namespace
  • jwt_jwks authentication path
  • example auth secret manifest
  • replica count and resource requests/limits

This overlay is still a template starting point. Operators are expected to replace example secret material and environment-specific endpoints.

Network assumptions

  • hex-core-service must be able to reach the configured io-adapter.
  • hex-core-service must be able to fetch model artifacts from the configured registry sources.