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.

Shared extensions

Page as Markdown

Learn about the ext-auth, rate-limiter, and ext-cache extensions that Solo Enterprise for agentgateway automatically deploys and shares across Gateways.

For component connections and listening ports, see Network architecture.

Solo Enterprise for agentgateway provides built-in external authentication, rate limiting, and caching extensions that are enabled by default. You do not need to install or configure any extra components. When you create your first Gateway for a GatewayClass, the deployer automatically provisions these extensions and shares them across all Gateways that use the same GatewayClass.

Note

To select the extensions for a deployment scenario, see Choose shared extensions. To customize the extension deployments, such as their compute resources, see Change shared extensions. To turn off an extension that you do not use, see Disable the deployer.

Solo Enterprise for agentgateway includes a deployer that automatically creates the following services to support enterprise security use cases for your Gateways. This way, you do not have to set up and configure your own services in order to use enterprise external auth and rate limiting features of the EnterpriseAgentgatewayPolicy.

ServiceNameDescription
External authenticationext-auth-service-<gateway-class-name>Handle authentication for protected routes and destinations.
Rate limitingrate-limiter-<gateway-class-name>Set global rate limits for requests to your backend API services.
Redis®* 1 backing databaseext-cache-<gateway-class-name>Provide separate database instances for storing the data for the ext-auth-service and rate-limiter.

The names in the table are stable Service names. When you monitor or automate against the Kubernetes Deployments for these services, use the app labels instead of exact Deployment names. These labels are available across versions.

Shared Redis database

The Redis service stores critical operational data for both the external auth and rate limiter services as follows.

External Auth:

  • API keys (plain text or hashed)
  • Session data and cookies
  • OIDC distributed claims

Rate Limiting:

  • Unique request keys
  • Rate limit counters and associated metadata

Setup modes

You can choose from two setup modes:

  • Shared (default): All Gateways that share the same GatewayClass automatically use the same external auth, rate limiter, and Redis services.
  • Dedicated (multi-tenant): Use separate GatewayClasses for each team. Then, each team’s Gateway has its own set of ext-auth, rate limiter, and Redis services.

Shared setup (default)

When you first install Solo Enterprise for agentgateway, the system does not immediately deploy the external auth service, rate limiter, or Redis. These services are only provisioned when you create the first Gateway for a GatewayClass. The Redis instance automatically gets created when either an external auth or rate limiting instance is created or enabled in the EnterpriseAgentgatewayParameters.

All Gateways that share the same GatewayClass automatically use the same external auth, rate limiter, and Redis services. This shared deployment model optimizes resource usage while maintaining isolation between different GatewayClasses.

Example steps:

  1. Review the default GatewayClasses.

    kubectl get gatewayclasses

    Example output: Solo Enterprise for agentgateway provides two default GatewayClasses:

    • enterprise-agentgateway: Standard class for managing Gateway API ingress traffic.
    • enterprise-agentgateway-waypoint: Specialized class for Istio ambient mesh waypoint proxies.
    NAME                       CONTROLLER                ACCEPTED   AGE
    enterprise-agentgateway            solo.io/enterprise-agentgateway   True       4h41m
    enterprise-agentgateway-waypoint   solo.io/enterprise-agentgateway   True       4h41m   
  2. Create a Gateway that references the default GatewayClass. For example, you might follow along with the Sample app guide to create an http Gateway.

    kubectl apply -f- <<EOF
    apiVersion: gateway.networking.k8s.io/v1
    kind: Gateway
    metadata:
      name: http
      namespace: agentgateway-system
      labels:
        example: httpbin
    spec:
      gatewayClassName: enterprise-agentgateway
      listeners:
      - protocol: HTTP
        port: 8080
        name: http
        allowedRoutes:
          namespaces:
            from: All
    EOF
  3. Review the ext-auth-service, rate-limiter, and ext-cache deployments that the deployer automatically creates for you in the agentgateway-system namespace.

    kubectl get deployments -n agentgateway-system \
      -l 'app in (ext-auth-service,rate-limiter,ext-cache)'

    Example output:

    NAME                                        READY   UP-TO-DATE   AVAILABLE   AGE
    ext-auth-service-enterprise-agentgateway            1/1     1            1           7m46s
    rate-limiter-enterprise-agentgateway                1/1     1            1           7m46s
    ext-cache-enterprise-agentgateway                1/1     1            1           7m46s
  4. You can optionally remove the resources that you set up as part of this guide. The external auth, rate limiter, and Redis services are deleted automatically when you delete the last Gateway that uses the GatewayClass. If other Gateways still use the GatewayClass, the services keep running. For more information, see Delete the deployments.

    kubectl delete Gateway http -n agentgateway-system

Dedicated setup (multi-tenant)

If you are using Solo Enterprise for agentgateway in a multi-tenant environment, you can create custom GatewayClasses based off the default GatewayClasses. Then, create a Gateway that refers to the GatewayClass. The deployer automatically creates a separate set of ext-auth, rate limiter, and Redis services in the namespace of the Gateway.

  1. Get the default enterprise-agentgateway GatewayClass that you can use as the basis for your custom GatewayClass.

    kubectl get gatewayclass enterprise-agentgateway -o yaml

    Example output:

    apiVersion: gateway.networking.k8s.io/v1
    kind: GatewayClass
    metadata:
      creationTimestamp: "2025-07-28T16:23:10Z"
      generation: 1
      name: enterprise-agentgateway
      resourceVersion: "829"
      uid: 6070687f-c6b9-43d0-b466-4e108bbc6364
    spec:
      controllerName: solo.io/enterprise-agentgateway
      description: Standard class for managing Gateway API ingress traffic.   
  2. Create a custom GatewayClass based on the default GatewayClass. Make sure to use the solo.io/enterprise-agentgateway controller so that Solo Enterprise for agentgateway manages the Gateway automation for you.

    kubectl apply -f- <<EOF
    apiVersion: gateway.networking.k8s.io/v1
    kind: GatewayClass
    metadata:
      name: my-team-gatewayclass
    spec:
      controllerName: solo.io/enterprise-agentgateway
      description: Custom GatewayClass for my team with isolated services
    EOF
  3. Create a Gateway that references the custom GatewayClass.

    kubectl apply -f- <<EOF
    apiVersion: gateway.networking.k8s.io/v1
    kind: Gateway
    metadata:
      name: my-team-gateway
      namespace: default
    spec:
      gatewayClassName: my-team-gatewayclass
      listeners:
      - name: http
        port: 80
        protocol: HTTP
    EOF
  4. Review the ext-auth-service, rate-limiter, and ext-cache deployments that the deployer automatically creates for you in the agentgateway-system namespace.

    kubectl get deployments -n agentgateway-system \
      -l 'app in (ext-auth-service,rate-limiter,ext-cache)'

    Example output:

    NAME                                        READY   UP-TO-DATE   AVAILABLE   AGE
    ext-auth-service-my-team-gatewayclass       1/1     1            1           7m46s
    rate-limiter-my-team-gatewayclass           1/1     1            1           7m46s
    ext-cache-my-team-gatewayclass         1/1     1            1           7m46s
  5. You can optionally remove the resources that you set up as part of this guide. The external auth, rate limiter, and Redis services are deleted automatically when you delete the last Gateway that uses the GatewayClass. If other Gateways still use the GatewayClass, the services keep running. For more information, see Delete the deployments.

    kubectl delete Gateway my-team-gateway -n default
    kubectl delete GatewayClass my-team-gatewayclass

Manage the deployments

Manage the ext auth service, rate limiter, and Redis services that the deployer automatically creates for you.

Update resource requests and limits

The default deployments include reasonable resource allocations, as well as Prometheus metrics endpoints and health checks as described in the following table. If you notice performance issues with the external auth or rate limiter services, check the resource usage and adjust as necessary.

ServiceCPU/Memory RequestsCPU/Memory LimitsDefault Metrics Port
ext-auth-service100m CPU, 128Mi memory500m CPU, 256Mi memory9091
rate-limiter100m CPU, 128Mi memory500m CPU, 256Mi memory9091
ext-cache256m CPU, 512Mi memoryNot specified, as the resources depend on your usageN/A

To change the defaults:

  1. Create a EnterpriseAgentgatewayParameters with your resource requests and limits in the sharedExtensions section, such as the following example. For more information, see the API docs.

    kubectl apply -f- <<EOF
    apiVersion: enterpriseagentgateway.solo.io/v1alpha1
    kind: EnterpriseAgentgatewayParameters
    metadata:
      name: my-gw-params
      namespace: agentgateway-system
    spec:
      sharedExtensions:
        extauth:
          enabled: true
          resources:
            requests:
              cpu: 200m
              memory: 256Mi
            limits:
              cpu: 750m
              memory: 512Mi
        ratelimiter:
          enabled: true
          resources:
            requests:
              cpu: 200m
              memory: 256Mi
            limits:
              cpu: 750m
              memory: 512Mi
        extCache:
          enabled: true
          resources:
            requests:
              cpu: 256m
              memory: 512Mi
            limits:
              cpu: 1000m
              memory: 2048Mi
    EOF
  2. Update the GatewayClass to use the new parameters resource. The following example updates the default enterprise-agentgateway GatewayClass.

    kubectl apply -f- <<EOF
    apiVersion: gateway.networking.k8s.io/v1
    kind: GatewayClass
    metadata:
      name: enterprise-agentgateway
    spec:
      controllerName: solo.io/enterprise-agentgateway
      description: Standard class for managing Gateway API ingress traffic.
      parametersRef:
        group: enterpriseagentgateway.solo.io
        kind: EnterpriseAgentgatewayParameters
        name: my-gw-params
        namespace: agentgateway-system
    EOF

The deployer automatically updates the ext-auth-service, rate-limiter, and ext-cache deployments to use the new resource requests and limits.

Delete the deployments

The deployer will automatically delete the deployments when at least one of the following conditions is met:

  1. All the Gateways that reference the GatewayClass were deleted.
  2. The given extension is disabled by setting spec.sharedExtensions.<extension>.enabled to false in the EnterpriseAgentgatewayParameters. Use caution when disabling an extension as the deployment is deleted, even if a Gateway or EnterpriseAgentgatewayPolicy still uses it.

Disable the deployer

You can disable the deployer for either or both the external auth and rate limiter services. Then, the deployer no longer creates and manages the service for you. You might disable the deployer to prevent teams from deploying their own services automatically when creating a Gateway for a GatewayClass.

  1. Create the EnterpriseAgentgatewayParameters that disables the external auth, rate limiter, or Redis services in the sharedExtensions section, such as the following example. For more information, see the API docs.

    kubectl apply -f- <<EOF
    apiVersion: enterpriseagentgateway.solo.io/v1alpha1
    kind: EnterpriseAgentgatewayParameters
    metadata:
      name: disable-deployer-gw-params
      namespace: agentgateway-system
    spec:
      sharedExtensions:
        extauth:
          enabled: false
        ratelimiter:
          enabled: false
        extCache:
          enabled: false
    EOF
  2. Update the GatewayClass to use the new EnterpriseAgentgatewayParameters. The following example updates the default enterprise-agentgateway GatewayClass.

    kubectl apply -f- <<EOF
    apiVersion: gateway.networking.k8s.io/v1
    kind: GatewayClass
    metadata:
      name: enterprise-agentgateway
    spec:
      controllerName: solo.io/enterprise-agentgateway
      description: Standard class for managing Gateway API ingress traffic.
      parametersRef:
        group: enterpriseagentgateway.solo.io
        kind: EnterpriseAgentgatewayParameters
        name: disable-deployer-gw-params
        namespace: agentgateway-system
    EOF
  3. Because the deployer no longer manages the deployments for you, manually delete any existing ext-auth-service, rate-limiter, and ext-cache deployments that used the GatewayClass. The selector uses labels that work across versions. If the namespace has extension Deployments for more than one GatewayClass, review the matches first and delete only the deployments for the GatewayClass that you disabled.

    kubectl delete deployments -n agentgateway-system \
      -l 'app in (ext-auth-service,rate-limiter,ext-cache)'

  1. * Redis is a registered trademark of Redis Ltd. Any rights therein are reserved to Redis Ltd. Any use by Solo.io, Inc. is for referential purposes only and does not indicate any sponsorship, endorsement or affiliation between Redis and Solo.io. ↩︎