Skip to content

Running OmniRoute on Kubernetes with omniroute-operator ​

Vinaykumar V A
Vinaykumar V A
Maintainer

OmniRoute is a unified AI proxy/router. omniroute-operator deploys and manages it on self-hosted Kubernetes, so an instance is one kubectl apply away.

One custom resource, four reconciled objects ​

The operator watches OmniRoute resources in the gateway.omniroute.ai/v1alpha1 group and reconciles the Deployment, Service, PersistentVolumeClaim, and Ingress that make up an instance. Change the custom resource and the operator brings the cluster back in line.

Credentials come from an existing Secret containing JWT_SECRET, API_KEY_SECRET, and INITIAL_PASSWORD. Configuration can be injected from ConfigMaps, and NODE_OPTIONS is derived from the memory limit so the process does not get OOM-killed by a heap cap that ignores the container limit.

Things worth knowing up front ​

spec.replicas is effectively capped at 1, because OmniRoute stores state in SQLite with a single writer. An Ingress is opt-in: spec.ingress.enabled defaults to false, so enable it explicitly and set the class, host, and TLS if the instance must be reachable from outside the cluster. Disabling persistence makes the instance ephemeral.

Local development is supported with k3d, including running the controller outside the cluster against a local API server.

Read the operator documentation and the OmniRoute custom resource reference. The project is Apache-2.0 licensed and ships a Helm chart for installation.