Install the AI Gateway Operator
This guide walks you through installing the AI Gateway Operator on your Kubernetes cluster.
Dependencies
The AI Gateway requires the following dependencies:
- 
Kubernetes: A running Kubernetes cluster 
- 
cert-manager: For managing TLS certificates for webhooks 
Installation
Install with Kubernetes YAML
Step 1: Install cert-manager
The AI Gateway Operator requires cert-manager for webhook support:
# Install cert-manager
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.18.2/cert-manager.yaml
# Wait for cert-manager to be ready
kubectl wait --for=condition=ready pod -l app.kubernetes.io/name=cert-manager -n cert-manager --timeout=60sStep 2: Install the AI Gateway Operator
# Install the operator
kubectl apply -f https://github.com/agentic-layer/ai-gateway-operator/releases/download/v0.1.0/install.yaml
# Wait for the operator to be ready
kubectl wait --for=condition=Available --timeout=60s -n ai-gateway-operator-system deployment/ai-gateway-operator-controller-managerFind the latest version at https://github.com/agentic-layer/ai-gateway-operator/releases
Install with Flux
If you’re using Flux for GitOps, you can install the operator using an OCI repository:
apiVersion: source.toolkit.fluxcd.io/v1
kind: OCIRepository
metadata:
  name: ai-gateway-operator
  namespace: flux-system
spec:
  interval: 5m
  url: oci://ghcr.io/agentic-layer/manifests/ai-gateway-operator
  ref:
    semver: ">= 0, < 1"
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
  name: ai-gateway-operator
  namespace: flux-system
spec:
  sourceRef:
    kind: OCIRepository
    name: ai-gateway-operator
  interval: 10m
  path: ./default
  prune: true
  wait: true
  dependsOn:
    # Ensure cert-manager is installed first (if you install it with Flux as well)
    - name: cert-manager