ai-gateway

by Ferro Labs AI

Helm chartv1.2.0App 1.2.0Apache-2.0Verified publisher

A high-performance, multi-provider LLM proxy supporting 31 AI providers, 8 routing strategies, and an extensible plugin pipeline.

About this chart

ai-gateway Helm Chart

Helm chart for the Ferro Labs AI Gateway — a high-performance, multi-provider LLM proxy supporting 31 AI providers, 8 routing strategies, and an extensible plugin pipeline.

TL;DR

helm repo add ferro-labs https://ferro-labs.github.io/helm-charts
helm repo update
helm install ferrogw ferro-labs/ai-gateway \
  --version 1.2.0 \
  --set secrets.adminApiKey="your-admin-key" \
  --set secrets.providers.openai="sk-..." \
  --set secrets.providers.anthropic="sk-ant-..."

Prerequisites

  • Kubernetes 1.25+
  • Helm 3.10+

Installing the Chart

helm install ferrogw ferro-labs/ai-gateway \
  --version 1.2.0 \
  --namespace ferrogw \
  --create-namespace \
  -f my-values.yaml

Uninstalling the Chart

helm uninstall ferrogw --namespace ferrogw

Configuration

See values.yaml for the full list of configurable parameters.

Key parameters

ParameterDescriptionDefault
replicaCountNumber of gateway pods2
image.repositoryContainer image repositoryghcr.io/ferro-labs/ai-gateway
image.tagImage tag (defaults to chart appVersion)""
config.strategy.modeRouting strategyfallback
secrets.adminApiKeySecret for /admin endpoints""
secrets.providersMap of provider name → API key{}
ingress.enabledEnable Ingressfalse
autoscaling.enabledEnable HPAfalse
pdb.enabledEnable PodDisruptionBudgettrue

Providing secrets securely

Instead of passing API keys via --set, use an external-secrets or sealed-secrets operator, or reference an existing Secret:

# values.yaml
secrets:
  adminApiKey: ""        # leave empty
  providers: {}          # leave empty — keys injected by external-secrets

Enabling Ingress with TLS

ingress:
  enabled: true
  className: nginx
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt-prod
  hosts:
    - host: gateway.example.com
      paths:
        - path: /
          pathType: Prefix
  tls:
    - secretName: ferrogw-tls
      hosts:
        - gateway.example.com

Enabling autoscaling

autoscaling:
  enabled: true
  minReplicas: 2
  maxReplicas: 20
  targetCPUUtilizationPercentage: 70

Full documentation

→ github.com/ferro-labs/ai-gateway

Deploy ai-gateway with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ai-gateway on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartai-gateway is pinned at v1.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply