Skip to content

Commit 771dc5e

Browse files
authored
Conformance: Adds Report for Kgateway with Agentgateway (#1587)
Signed-off-by: Daneyon Hansen <[email protected]>
1 parent 9df5173 commit 771dc5e

File tree

3 files changed

+105
-0
lines changed

3 files changed

+105
-0
lines changed

conformance/reports/v1.0.0/gateway/kgateway/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Kgateway
22

3+
This guide provides the steps for running Gateway conformance tests against [kgateway](https://kgateway.dev/) with the default
4+
([Envoy](https://www.envoyproxy.io/)) data plane.
5+
36
## Table of Contents
47

58
| Extension Version Tested | Profile Tested | Implementation Version | Mode | Report |
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# Kgateway with agentgateway
2+
3+
This guide provides the steps for running Gateway conformance tests against [kgateway](https://kgateway.dev/) with the
4+
([agentgateway](https://agentgateway.dev/)) data plane.
5+
6+
## Table of Contents
7+
8+
| Extension Version Tested | Profile Tested | Implementation Version | Mode | Report |
9+
|--------------------------|----------------|------------------------|---------|----------------------------------------------------------------------------|
10+
| v1.0.0 | Gateway | v2.1.0-main | default | [v2.1.0-main report](./inference-v2.1.0-main-report.yaml) |
11+
12+
## Reproduce
13+
14+
This is a mirror of the kgateway [conformance test] with the default (Envoy) data plane [conformance test](../README.md).
15+
16+
### Prerequisites
17+
18+
In order to run the conformance tests, the following prerequisites must be met:
19+
20+
- The [kubectl](https://kubernetes.io/docs/tasks/tools/) command-line tool installed and configured for the active cluster context.
21+
- 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.
22+
23+
### Steps
24+
25+
1. Set the environment variables use by the proceeding steps:
26+
27+
```sh
28+
# The kgateway version
29+
export VERSION=v2.1.0-main
30+
# Skip building and loading the kgateway images
31+
export SKIP_DOCKER=true
32+
# Install Gateway API and Inference Extension CRDs
33+
export CONFORMANCE=true
34+
```
35+
36+
2. Clone the kgateway repository and checkout the release:
37+
38+
```sh
39+
git clone -b $VERSION https://github.com/kgateway-dev/kgateway.git && cd kgateway
40+
```
41+
42+
3. Create a KinD cluster:
43+
44+
```sh
45+
make kind-setup
46+
```
47+
48+
4. Install the kgateway CRDs:
49+
50+
```sh
51+
helm upgrade -i --create-namespace --namespace kgateway-system \
52+
--version $VERSION kgateway-crds oci://cr.kgateway.dev/kgateway-dev/charts/kgateway-crds
53+
```
54+
55+
5. Install kgateway with Inference Extension and agentgateway enabled:
56+
57+
```sh
58+
helm upgrade -i --namespace kgateway-system --version $VERSION \
59+
kgateway oci://cr.kgateway.dev/kgateway-dev/charts/kgateway \
60+
--set inferenceExtension.enabled=true --set agentGateway.enabled=true
61+
```
62+
63+
6. Wait for the kgateway rollout to complete:
64+
65+
```sh
66+
kubectl rollout status deploy/kgateway -n kgateway-system
67+
```
68+
69+
7. Run the conformance tests:
70+
71+
```sh
72+
CONFORMANCE_GATEWAY_CLASS=agentgateway make gie-conformance
73+
```
74+
75+
8. View and verify the conformance report:
76+
77+
```sh
78+
cat _test/conformance/inference-$VERSION-report.yaml
79+
```
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
GatewayAPIInferenceExtensionVersion: v1.0.0
2+
apiVersion: gateway.networking.k8s.io/v1
3+
date: "2025-09-14T10:03:01-07:01"
4+
gatewayAPIChannel: experimental
5+
gatewayAPIVersion: v1.3.0
6+
implementation:
7+
contact:
8+
- github.com/kgateway-dev/kgateway/issues/new/choose
9+
organization: kgateway-dev
10+
project: kgateway
11+
url: github.com/kgateway-dev/kgateway
12+
version: v2.1.0-main
13+
kind: ConformanceReport
14+
mode: default
15+
profiles:
16+
- core:
17+
result: success
18+
statistics:
19+
Failed: 0
20+
Passed: 9
21+
Skipped: 0
22+
name: Gateway
23+
summary: Core tests succeeded.

0 commit comments

Comments
 (0)