Skip to content
Latest (currently 2026.10.2) has the newest features, bug fixes, and CVE patches of Solo Enterprise for agentgateway.

For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.

Helm

Verified : Automated tests passed for: Kubernetes resources: The Kubernetes resources on this page were checked against their API schemas. Configuration files: The configuration files on this page were checked against their schema. Helm values: The Helm values on this page were checked against the values the chart accepts.
Page as Markdown

Install standalone agentgateway as a Kubernetes Deployment with the standalone Helm chart.

Use the standalone Helm chart when you want the standalone agentgateway model, but you want Kubernetes to run and expose the process for you. The chart runs the same binary and reads the same configuration file that the binary and Docker installations use. You supply that file through Helm values, and the chart renders it into a ConfigMap that the proxy reads at startup.

Tip

This chart installs agentgateway as a single, unmanaged Kubernetes Deployment. You manage agentgateway config by upgrading the Helm values, and optionally by adding a PostgreSQL database so that you can edit the config in the UI. If you want a managed Kubernetes solution that includes a control plane and Gateway API resources, see Kubernetes control plane.

What the chart installs

The chart creates the following resources. Each resource is named after the Helm release, which is enterprise-agentgateway-standalone in these examples.

ResourceNamePurpose
Deploymententerprise-agentgateway-standaloneRuns the agentgateway proxy.
ConfigMapenterprise-agentgateway-standalone-configHolds the rendered config.yaml, mounted read-only at /config.
Serviceenterprise-agentgateway-standaloneExposes the gateway listener. Type LoadBalancer and port 80 to container port 4000 by default.
ServiceAccountenterprise-agentgateway-standaloneIdentity for the proxy pod.

If you installed with a different release name or namespace, adjust the resource names and the -n values in the commands throughout this documentation accordingly.

What the chart does not install

Keep in mind that the Helm chart installation does not include the following features:

  • No database. The steps in this guide have you Set up a database for a new installation. Or, you can install the Helm chart without a database for quick testing, and later add a Database to an existing release.
  • No writable UI unless you install in database mode. For more information, see Configuration storage.
  • No PersistentVolumeClaim for persistent storage.
  • No Service for the admin port. Instead, you can reach the admin interface by port-forwarding the enterprise-agentgateway-standalone Deployment.

Also keep in mind that this standalone Kubernetes Deployment via Helm does not include the features of Solo Enterprise for agentgateway for Kubernetes, such as a control plane, agentgateway custom resources, or additional services such as rate limiting, external auth, and WAF. For more information, see the Kubernetes docs.

Before you begin

  1. Create or use an existing Kubernetes cluster.
  2. Install the following command-line tools.
    • kubectl, the Kubernetes command line tool.
    • helm, the Kubernetes package manager.
    • jq, the command-line JSON processor that the verification steps use.

Install

Install Solo Enterprise for agentgateway with the license, database, and Helm values that you want to use.

Create a namespace

Create the namespace for agentgateway and, if you use one, the PostgreSQL database. The following example uses the default agentgateway-system namespace. You can use a different namespace name, but make sure to update the namespace and any override fields throughout the rest of this guide.

kubectl create namespace agentgateway-system

Create the license Secret

To use Solo Enterprise for agentgateway, you must have a license.

  1. Get a license key for Solo Enterprise for agentgateway. If you do not have one, contact your account representative. The proxy refuses to start without a valid key. For the ways to supply the key and what happens when it expires, see Licensing.

  2. Store the license key in a Kubernetes Secret so that it stays out of your Helm values and out of the ConfigMap that the chart renders.

    kubectl create secret generic agentgateway-license \
      -n agentgateway-system \
      --from-literal=license-key='<license-key>'

Set up a database

The chart does not install a database. The default readonly mode prevents UI saves. Database features, including LLM analytics, logs, and API key budgets, require a separate database. For the full list, see Features that need a database.

For production, use a managed PostgreSQL service or an operator that handles backups and failover. The following steps deploy a single instance for testing. To install without a database, continue to Create your Helm values.

  1. Create a Secret for the database credentials. PostgreSQL and the proxy use the same Secret, keeping the password out of your Helm values.

    This testing example creates the agw user with the password password. For a custom password, use only letters and numbers. The password becomes part of a connection URL, where characters such as @, :, and / have special meanings.

    kubectl create secret generic agentgateway-postgres \
      -n agentgateway-system \
      --from-literal=POSTGRES_USER=agw \
      --from-literal=POSTGRES_PASSWORD='password' \
      --from-literal=POSTGRES_DB=agw
  2. Deploy PostgreSQL with a PersistentVolumeClaim that uses your cluster’s default StorageClass. The volume preserves request logs and saved UI configuration when the PostgreSQL pod restarts.

    kubectl apply -n agentgateway-system -f - <<'EOF'
    apiVersion: v1
    kind: PersistentVolumeClaim
    metadata:
      name: postgres-data
    spec:
      accessModes:
      - ReadWriteOnce
      resources:
        requests:
          storage: 1Gi
    ---
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: postgres
    spec:
      replicas: 1
      strategy:
        type: Recreate
      selector:
        matchLabels:
          app: postgres
      template:
        metadata:
          labels:
            app: postgres
        spec:
          containers:
          - name: postgres
            image: postgres:16-alpine
            envFrom:
            - secretRef:
                name: agentgateway-postgres
            env:
            - name: PGDATA
              value: /var/lib/postgresql/data/pgdata
            ports:
            - containerPort: 5432
            readinessProbe:
              exec:
                command: ["sh", "-c", "pg_isready -U \"$POSTGRES_USER\" -d \"$POSTGRES_DB\""]
              periodSeconds: 5
            volumeMounts:
            - name: data
              mountPath: /var/lib/postgresql/data
          volumes:
          - name: data
            persistentVolumeClaim:
              claimName: postgres-data
    ---
    apiVersion: v1
    kind: Service
    metadata:
      name: postgres
    spec:
      selector:
        app: postgres
      ports:
      - port: 5432
        targetPort: 5432
    EOF
  3. Verify that PostgreSQL is ready and its PersistentVolumeClaim is Bound. The pod becomes ready when PostgreSQL accepts connections.

    kubectl rollout status deploy/postgres -n agentgateway-system
    kubectl get pvc postgres-data -n agentgateway-system

    Example output:

    deployment "postgres" successfully rolled out
    NAME            STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   AGE
    postgres-data   Bound    pvc-32a0dca7-4ddd-458c-85a4-1b1b9d37140c   1Gi        RWO            standard       13s

    If the claim stays Pending, check whether your cluster has a default StorageClass. To select a StorageClass, set spec.storageClassName in the PersistentVolumeClaim. Alternatively, use a managed PostgreSQL service.

Create your Helm values

Create a values.yaml file that mounts the license key Secret and holds your agentgateway configuration. The chart renders the config value into the proxy configuration file.

Point the chart at the database that you deployed in the previous step.

cat <<'EOF' > values.yaml
mode: database
database:
  postgres:
    url: postgres://agw:${POSTGRES_PASSWORD}@postgres.agentgateway-system.svc.cluster.local:5432/agw
extraEnv:
- name: POSTGRES_PASSWORD
  valueFrom:
    secretKeyRef:
      name: agentgateway-postgres
      key: POSTGRES_PASSWORD
config:
  config:
    license:
      key:
        file: /etc/agentgateway/license/license-key
  gateways:
    default:
      port: 4000
  llm:
    providers: []
    models: []
    virtualModels: []
  mcp:
    targets: []
extraVolumes:
- name: license
  secret:
    secretName: agentgateway-license
extraVolumeMounts:
- name: license
  mountPath: /etc/agentgateway/license
  readOnly: true
EOF

Review the following table to understand this configuration.

SettingDescription
modeSet to database to save UI changes in PostgreSQL. The ConfigMap remains a read-only baseline. The chart sets config.storage.mode to hybrid and derives config.database.url from database.postgres.url. Do not set these fields in config. See Configuration storage.
database.postgres.urlPostgreSQL connection URL. Use postgres:// or postgresql:// and the postgres Service in the release namespace. The ${POSTGRES_PASSWORD} reference keeps the password out of the ConfigMap. The running with config startup log line contains the resolved URL, including the password. Limit access to pod logs.
extraEnvSets the proxy container’s POSTGRES_PASSWORD environment variable from the PostgreSQL Secret.
config.config.license.key.fileLicense key file path. The outer config value holds the entire proxy configuration, including its own nested config section.
config.gateways.default.portThe port of the default gateway. The Service that the chart creates sends traffic to port 4000.
config.llm, config.mcpDefine these sections to add LLM providers, models, and MCP servers in the UI. In database mode, the UI can add resources to existing sections, but cannot create sections. See Sections must exist in the file.
extraVolumes, extraVolumeMountsMount the license key Secret into the proxy container. The chart has no dedicated license value.

Install in the default readonly mode. Your Helm values are the only source of configuration, and the UI cannot save changes. To add a database later, see Database.

cat <<'EOF' > values.yaml
config:
  config:
    license:
      key:
        file: /etc/agentgateway/license/license-key
  gateways:
    default:
      port: 4000
extraVolumes:
- name: license
  secret:
    secretName: agentgateway-license
extraVolumeMounts:
- name: license
  mountPath: /etc/agentgateway/license
  readOnly: true
EOF

Install the chart

Install the standalone Helm chart with your values file.

helm upgrade -i enterprise-agentgateway-standalone \
  oci://us-docker.pkg.dev/solo-public/enterprise-agentgateway/charts/enterprise-agentgateway-standalone \
  --namespace agentgateway-system \
  --create-namespace \
  --version v2026.10.2 \
  -f values.yaml

To change the release name and namespace, set the Helm release namespace and namespaceOverride. Create the license Secret in that namespace. If you use PostgreSQL, deploy PostgreSQL and its Secret in that namespace too. Update the hostname in database.postgres.url to match.

The following example installs an agw Helm release in the agw namespace.

helm upgrade -i agw \
  oci://us-docker.pkg.dev/solo-public/enterprise-agentgateway/charts/enterprise-agentgateway-standalone \
  --namespace agw \
  --create-namespace \
  --version v2026.10.2 \
  --set namespaceOverride=agw \
  -f values.yaml

Tip

If the pod restarts repeatedly, check the logs. The failed to connect config.database error means that the proxy cannot reach PostgreSQL. Make sure that the PostgreSQL pod is ready and that the hostname in database.postgres.url matches the namespace of the postgres Service.

kubectl logs -n agentgateway-system deploy/enterprise-agentgateway-standalone

Verify the installation

  1. Verify that the agentgateway pod is running.

    kubectl get pods -n agentgateway-system \
      -l app.kubernetes.io/name=enterprise-agentgateway-standalone

    Example output:

    NAME                                       READY   STATUS    RESTARTS   AGE
    enterprise-agentgateway-standalone-6d5dc56bdb-792pt   1/1     Running   0          30s

    A pod in CrashLoopBackOff most often failed the license check. Check the logs, and see Licensing.

  2. Review the configuration that the chart rendered into the ConfigMap.

    kubectl get configmap enterprise-agentgateway-standalone-config \
      -n agentgateway-system -o jsonpath='{.data.config\.yaml}'

    With PostgreSQL, expect storage.mode: hybrid and a database URL that contains the literal ${POSTGRES_PASSWORD} reference. The proxy resolves the reference at startup.

    Without a database, expect storage.mode: file and no database field.

    Example output with PostgreSQL:

    config:
      database:
        url: postgres://agw:${POSTGRES_PASSWORD}@postgres.agentgateway-system.svc.cluster.local:5432/agw
      license:
        key:
          file: /etc/agentgateway/license/license-key
      storage:
        mode: hybrid
    gateways:
      default:
        port: 4000
    llm:
      models: []
      providers: []
      virtualModels: []
    mcp:
      targets: []
  3. If you use PostgreSQL, verify that the database tables exist. The proxy creates the tables on first startup without a separate migration.

    kubectl exec -n agentgateway-system deploy/postgres \
      -- psql -U agw -d agw -c '\dt'

    Expect the following tables, including request_logs for LLM logs and agw_config_resources for UI configuration changes:

                           List of relations
     Schema |                 Name                 | Type  | Owner
    --------+--------------------------------------+-------+-------
     public | _agentgateway_request_log_migrations | table | agw
     public | agw_config_resources                 | table | agw
     public | agw_license_attestation              | table | agw
     public | budget_usage                         | table | agw
     public | request_log_payloads                 | table | agw
     public | request_logs                         | table | agw
    (6 rows)
  4. Confirm that the proxy accepted the license.

    kubectl port-forward -n agentgateway-system \
      deploy/enterprise-agentgateway-standalone 15000:15000
    curl -s localhost:15000/api/runtime | jq .license

    Example output:

    {
      "state": "running",
      "product": "agentgateway",
      "expiresAt": "2027-08-17T17:45:00Z"
    }

Open the UI

For quick access to the UI, port-forward the enterprise-agentgateway-standalone Deployment and open the /ui path.

  1. Port-forward the admin interface.

    kubectl port-forward -n agentgateway-system \
      deploy/enterprise-agentgateway-standalone 15000:15000
  2. In your browser, open the /ui path: http://localhost:15000/ui

  3. Check whether the UI can save changes.

    curl -s http://localhost:15000/api/runtime | jq '.ui.configStoreMode'

    Expect hybrid for PostgreSQL storage. With the chart’s default readonly mode, the result is file. UI saves still fail, because the ConfigMap is mounted read-only.

    Example output:

    "hybrid"

A port-forward is a quick way to look at the UI on a cluster. To give the UI its own gateway so that you can reach it without one, secure it with OIDC, and expose it on your own hostname, see UI.

Common Helm values

Review the following table to understand this configuration. For more information, see the Helm reference docs.

ValueUse
replicaCountRun more than one proxy pod.
monitoring.enabledCreate a PodMonitor and expose the metrics port for Prometheus Operator.
extraEnv, extraVolumes, extraVolumeMounts, extraContainersAdd environment variables, mount secrets, or run sidecars. The chart has no dedicated license value, so these are also how the license key reaches the proxy. For more information, see Licensing.
imagePullSecretsPull the proxy image from a private registry. The Solo registry is public, so this is only needed for an internal mirror.
image.registry, image.repository, image.tagPull the proxy image from another registry, such as an internal mirror.

Uninstall

  1. Uninstall the Helm release.

    helm uninstall enterprise-agentgateway-standalone -n agentgateway-system
  2. Remove the namespace.

    Warning

    This command deletes all resources in the namespace, including the license Secret. If you deployed PostgreSQL there, the command also deletes its PersistentVolumeClaim and stored data.

    kubectl delete namespace agentgateway-system

Next steps