On this page
Set up Gloo AI Gateway
Use a custom GatewayParameters resource to set up Gloo AI Gateway.
This feature is an Enterprise-only feature that requires a Gloo Gateway Enterprise license.
Before you begin
Follow the Get started guide to install Gloo Gateway.
Set up Gloo AI Gateway
Create a GatewayParameters resource.
kubectl apply -f- <<EOF apiVersion: gateway.gloo.solo.io/v1alpha1 kind: GatewayParameters metadata: name: gloo-gateway-override namespace: gloo-system spec: kube: aiExtension: enabled: true EOF
Set up Gloo AI Gateway by creating a Gateway resource with the custom GatewayParameters.
kubectl apply -f- <<EOF kind: Gateway apiVersion: gateway.networking.k8s.io/v1 metadata: name: ai-gateway namespace: gloo-system annotations: gateway.gloo.solo.io/gateway-parameters-name: gloo-gateway-override spec: gatewayClassName: gloo-gateway listeners: - protocol: HTTP port: 8080 name: http allowedRoutes: namespaces: from: All EOF
Verify that the AI gateway is created.
kubectl get gateway ai-gateway -n gloo-system
Example output:
NAME CLASS ADDRESS PROGRAMMED AGE ai-gateway gloo-gateway 172.18.0.2 True 69m
Next
Explore how to connect the gateway to an LLM provider and successfully authenticate so that you can use AI services.