MATIH Platform is in active MVP development. Documentation reflects current implementation status.
17. Kubernetes & Helm
Control Plane Charts
API Gateway

API Gateway Chart

The API Gateway provides centralized routing, rate limiting, authentication, and request transformation for all platform APIs.


Routing Architecture

The API gateway routes traffic based on path prefixes to backend services across namespaces:

Path PrefixBackendNamespace
/api/v1/authiam-service:8080matih-control-plane
/api/v1/tenantstenant-service:8080matih-control-plane
/api/v1/configconfig-service:8080matih-control-plane
/api/v1/auditaudit-service:8080matih-control-plane
/api/v1/notificationsnotification-service:8080matih-control-plane
/api/v1/aiai-service:8000matih-data-plane
/api/v1/queryquery-engine:8080matih-data-plane
/api/v1/catalogcatalog-service:8086matih-data-plane
/api/v1/bibi-service:8084matih-data-plane

Kong Integration

The control plane uses Kong as the ingress class for API-specific features:

ingress:
  className: kong
  annotations:
    konghq.com/strip-path: "false"
    konghq.com/protocols: "https"
    konghq.com/read-timeout: "600000"
    konghq.com/write-timeout: "600000"

Rate Limiting

Rate limits are applied per-tenant and per-endpoint to prevent abuse and ensure fair resource allocation.


Autoscaling

autoscaling:
  enabled: true
  minReplicas: 2
  maxReplicas: 10
  targetCPUUtilizationPercentage: 65