From 67925a4a2bfdf8002fbd3a69f19c62d1f67ee62f Mon Sep 17 00:00:00 2001 From: Daneyon Hansen Date: Sun, 14 Sep 2025 13:56:27 -0700 Subject: [PATCH] Conformance: Adds Report for Kgateway with Agentgateway Signed-off-by: Daneyon Hansen --- .../reports/v1.0.0/gateway/kgateway/README.md | 3 + .../gateway/kgateway/agentgateway/README.md | 79 +++++++++++++++++++ .../inference-v2.1.0-main-report.yaml | 23 ++++++ 3 files changed, 105 insertions(+) create mode 100644 conformance/reports/v1.0.0/gateway/kgateway/agentgateway/README.md create mode 100644 conformance/reports/v1.0.0/gateway/kgateway/agentgateway/inference-v2.1.0-main-report.yaml diff --git a/conformance/reports/v1.0.0/gateway/kgateway/README.md b/conformance/reports/v1.0.0/gateway/kgateway/README.md index 020f42f78..c64981f35 100644 --- a/conformance/reports/v1.0.0/gateway/kgateway/README.md +++ b/conformance/reports/v1.0.0/gateway/kgateway/README.md @@ -1,5 +1,8 @@ # Kgateway +This guide provides the steps for running Gateway conformance tests against [kgateway](https://kgateway.dev/) with the default +([Envoy](https://www.envoyproxy.io/)) data plane. + ## Table of Contents | Extension Version Tested | Profile Tested | Implementation Version | Mode | Report | diff --git a/conformance/reports/v1.0.0/gateway/kgateway/agentgateway/README.md b/conformance/reports/v1.0.0/gateway/kgateway/agentgateway/README.md new file mode 100644 index 000000000..7f35d2b2a --- /dev/null +++ b/conformance/reports/v1.0.0/gateway/kgateway/agentgateway/README.md @@ -0,0 +1,79 @@ +# Kgateway with agentgateway + +This guide provides the steps for running Gateway conformance tests against [kgateway](https://kgateway.dev/) with the +([agentgateway](https://agentgateway.dev/)) data plane. + +## Table of Contents + +| Extension Version Tested | Profile Tested | Implementation Version | Mode | Report | +|--------------------------|----------------|------------------------|---------|----------------------------------------------------------------------------| +| v1.0.0 | Gateway | v2.1.0-main | default | [v2.1.0-main report](./inference-v2.1.0-main-report.yaml) | + +## Reproduce + +This is a mirror of the kgateway [conformance test] with the default (Envoy) data plane [conformance test](../README.md). + +### Prerequisites + +In order to run the conformance tests, the following prerequisites must be met: + +- The [kubectl](https://kubernetes.io/docs/tasks/tools/) command-line tool installed and configured for the active cluster context. +- The [helm](https://github.com/helm/helm), [git](https://git-scm.com/downloads), and [make](https://www.gnu.org/software/make/) command-line tools installed. + +### Steps + +1. Set the environment variables use by the proceeding steps: + + ```sh + # The kgateway version + export VERSION=v2.1.0-main + # Skip building and loading the kgateway images + export SKIP_DOCKER=true + # Install Gateway API and Inference Extension CRDs + export CONFORMANCE=true + ``` + +2. Clone the kgateway repository and checkout the release: + + ```sh + git clone -b $VERSION https://github.com/kgateway-dev/kgateway.git && cd kgateway + ``` + +3. Create a KinD cluster: + + ```sh + make kind-setup + ``` + +4. Install the kgateway CRDs: + + ```sh + helm upgrade -i --create-namespace --namespace kgateway-system \ + --version $VERSION kgateway-crds oci://cr.kgateway.dev/kgateway-dev/charts/kgateway-crds + ``` + +5. Install kgateway with Inference Extension and agentgateway enabled: + + ```sh + helm upgrade -i --namespace kgateway-system --version $VERSION \ + kgateway oci://cr.kgateway.dev/kgateway-dev/charts/kgateway \ + --set inferenceExtension.enabled=true --set agentGateway.enabled=true + ``` + +6. Wait for the kgateway rollout to complete: + + ```sh + kubectl rollout status deploy/kgateway -n kgateway-system + ``` + +7. Run the conformance tests: + + ```sh + CONFORMANCE_GATEWAY_CLASS=agentgateway make gie-conformance + ``` + +8. View and verify the conformance report: + + ```sh + cat _test/conformance/inference-$VERSION-report.yaml + ``` diff --git a/conformance/reports/v1.0.0/gateway/kgateway/agentgateway/inference-v2.1.0-main-report.yaml b/conformance/reports/v1.0.0/gateway/kgateway/agentgateway/inference-v2.1.0-main-report.yaml new file mode 100644 index 000000000..9e4063b5c --- /dev/null +++ b/conformance/reports/v1.0.0/gateway/kgateway/agentgateway/inference-v2.1.0-main-report.yaml @@ -0,0 +1,23 @@ +GatewayAPIInferenceExtensionVersion: v1.0.0 +apiVersion: gateway.networking.k8s.io/v1 +date: "2025-09-14T10:03:01-07:01" +gatewayAPIChannel: experimental +gatewayAPIVersion: v1.3.0 +implementation: + contact: + - github.com/kgateway-dev/kgateway/issues/new/choose + organization: kgateway-dev + project: kgateway + url: github.com/kgateway-dev/kgateway + version: v2.1.0-main +kind: ConformanceReport +mode: default +profiles: +- core: + result: success + statistics: + Failed: 0 + Passed: 9 + Skipped: 0 + name: Gateway + summary: Core tests succeeded.