generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 182
Conformance: Adds Report for Kgateway with Agentgateway #1587
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
k8s-ci-robot
merged 1 commit into
kubernetes-sigs:main
from
danehans:agtw_conform_report_gie_v1
Sep 15, 2025
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
79 changes: 79 additions & 0 deletions
79
conformance/reports/v1.0.0/gateway/kgateway/agentgateway/README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
23 changes: 23 additions & 0 deletions
23
conformance/reports/v1.0.0/gateway/kgateway/agentgateway/inference-v2.1.0-main-report.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
kind: ConformanceReport | ||
mode: default | ||
profiles: | ||
- core: | ||
result: success | ||
statistics: | ||
Failed: 0 | ||
Passed: 9 | ||
Skipped: 0 | ||
name: Gateway | ||
summary: Core tests succeeded. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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).There was a problem hiding this comment.
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.