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

Billing Service Chart

The Billing Service tracks resource usage, manages cost allocation, and provides billing APIs for the platform.


Chart Configuration

billing-service:
  enabled: true
  replicaCount: 2
 
  image:
    repository: billing-service
    tag: ""
 
  service:
    type: ClusterIP
    port: 8080
 
  resources:
    requests:
      cpu: 200m
      memory: 512Mi
    limits:
      cpu: 1000m
      memory: 1Gi
 
  autoscaling:
    enabled: true
    minReplicas: 2
    maxReplicas: 6

Cost Center Integration

The billing service consumes billing labels from all pods across the cluster to attribute costs:

LabelPurpose
matih.io/cost-centerTop-level cost bucket (CC-PLATFORM, CC-DATA-PLANE, CC-ML)
matih.io/tenant-idTenant attribution
matih.io/cost-typeStatic (platform) vs Dynamic (tenant workloads)
matih.io/workload-typeapi, batch, streaming, training, inference
matih.io/job-idJob-level cost tracking
matih.io/session-idSession-level cost tracking