Files
the_order/infra/k8s
defiQUG 3d43155312 feat: expand test coverage and configure comprehensive alerting
- Add unit tests for all core services (identity, intake, finance, dataroom)
- Create integration test framework with shared setup utilities
- Add E2E test suite for complete user workflows
- Add test utilities package (server factory)
- Configure Prometheus alert rules (service health, infrastructure, database, Azure)
- Add alert rules ConfigMap for Kubernetes
- Update Prometheus deployment with alert rules
- Fix tsconfig.json to include test files
- Add tests/tsconfig.json for integration/E2E tests
- Fix server-factory.ts linting issues
2025-11-13 10:04:32 -08:00
..

Kubernetes Configuration

Kubernetes manifests and Helm charts for The Order.

Structure

  • base/ - Base Kubernetes manifests
  • overlays/ - Environment-specific overlays (dev, stage, prod)
  • charts/ - Helm charts (if using Helm)

Usage

Using Kustomize

# Build dev environment
kubectl kustomize overlays/dev

# Apply dev environment
kubectl apply -k overlays/dev

# Build prod environment
kubectl kustomize overlays/prod

# Apply prod environment
kubectl apply -k overlays/prod

Using Helm

# Install chart
helm install the-order charts/the-order -f charts/the-order/values-dev.yaml

# Upgrade chart
helm upgrade the-order charts/the-order -f charts/the-order/values-prod.yaml

Namespaces

  • the-order-dev - Development environment
  • the-order-stage - Staging environment
  • the-order-prod - Production environment

Services

Each service has its own deployment, service, and ingress configuration:

  • Intake service
  • Identity service
  • Finance service
  • Dataroom service
  • Portal applications

Secrets Management

Secrets are managed using:

  • External Secrets Operator
  • SOPS-encrypted secrets
  • Cloud provider secrets managers

Monitoring

  • Prometheus for metrics
  • Grafana for dashboards
  • OpenTelemetry for tracing
  • ELK/OpenSearch for logging