Deployment
This template distinguishes between two maturity levels.
MVP
- Docker Compose is the mandatory working baseline.
- The default deployment points
hex-core-serviceat an external HTTPio-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:
k8s/base/kustomization.yamlk8s/base/hex-core-deployment.yamlk8s/base/registry-configmap.yamlk8s/base/auth-secret.example.yamlk8s/overlays/dev/kustomization.yamlk8s/overlays/prod/kustomization.yaml
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_jwksauthentication 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-servicemust be able to reach the configuredio-adapter.hex-core-servicemust be able to fetch model artifacts from the configured registry sources.