Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions conformance/reports/v1.0.0/gateway/kgateway/README.md
Original file line number Diff line number Diff line change
@@ -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 |
Expand Down
79 changes: 79 additions & 0 deletions conformance/reports/v1.0.0/gateway/kgateway/agentgateway/README.md
Original file line number Diff line number Diff line change
@@ -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
```
Original file line number Diff line number Diff line change
@@ -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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this version mean?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tip of the kgateway main branch. We have not cut the kgateway v2.1.0 release. I will update the conformance report to v2.1.0 when the release is cut (~2 weeks).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should probably aim to add a requirement that this points to a specific point in time so it's truly reproducible, but don't want to block this report on that.

kind: ConformanceReport
mode: default
profiles:
- core:
result: success
statistics:
Failed: 0
Passed: 9
Skipped: 0
name: Gateway
summary: Core tests succeeded.