Set up an Solo Enterprise for agentgateway proxy.

Before you begin

  1. Install Gloo Gateway and enable the Solo Enterprise for agentgateway integration.

  2. Verify that the Solo Enterprise for agentgateway integration is enabled.

      helm get values gloo-gateway -n gloo-system -o yaml
      

    Example output:

      
    agentgateway:
      enabled: true
      

Set up an agentgateway proxy

  1. Create a Gateway that uses the agentgateway-enterprise GatewayClass. The following example sets up a Gateway that uses the default agentgateway proxy template.

      kubectl apply -f- <<EOF
    kind: Gateway
    apiVersion: gateway.networking.k8s.io/v1
    metadata:
      name: agentgateway
      namespace: gloo-system
      labels:
        app: agentgateway
    spec:
      gatewayClassName: agentgateway-enterprise
      listeners:
      - protocol: HTTP
        port: 8080
        name: http
        allowedRoutes:
          namespaces:
            from: All
    EOF
      
  2. Verify that the agentgateway proxy is created.

    • Gateway: Note that it might take a few minutes for an address to be assigned.
    • Pod for agentgateway proxy: The pod has one container: agent-gateway.
      kubectl get gateway agentgateway -n gloo-system
    kubectl get deployment agentgateway -n gloo-system
      

    Example output:

      NAME           CLASS          ADDRESS                                                                  PROGRAMMED   AGE
    agentgateway   agentgateway-enterprise   a1cff4bd974a34d8b882b2fa01d357f0-119963959.us-east-2.elb.amazonaws.com   True         6m9s
    NAME           READY   UP-TO-DATE   AVAILABLE   AGE
    agentgateway   1/1     1            1           6m11s
      
  3. Get the external address of the agentgateway proxy and save it in an environment variable.

Next

Explore how you can use Solo Enterprise for agentgateway by checking out guides for the most common use cases: