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

Config Service Chart

The Config Service provides runtime configuration management and feature flag capabilities for all platform services.


Chart Configuration

config-service:
  enabled: true
  replicaCount: 2
 
  image:
    repository: config-service
    tag: ""
 
  service:
    type: ClusterIP
    port: 8080
 
  ingress:
    enabled: true
    className: kong
    hosts:
      - host: api.matih.ai
        paths:
          - path: /api/v1/config
            pathType: Prefix
          - path: /api/v1/feature-flags
            pathType: Prefix
 
  resources:
    requests:
      cpu: 100m
      memory: 512Mi
    limits:
      cpu: 500m
      memory: 1Gi
 
  autoscaling:
    enabled: true
    minReplicas: 2
    maxReplicas: 5
 
  config:
    cache:
      enabled: true
      ttlSeconds: 300
    hotReload:
      enabled: true
      pubsubChannel: config-updates

Key Features

  • Hot Reload: Configuration changes are published via Redis pub/sub for real-time propagation
  • Redis Cache: Configuration values are cached with a configurable TTL (default 300s)
  • Feature Flags: Tenant-scoped feature flag management with percentage rollouts
  • Stateful Profile: Uses the stateful HPA profile for conservative scaling to preserve cache warmth