Skip to content
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

conformance: add kgateway v2.0.0 release's conformance results for gateway api 1.2.1 #3725

Merged
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
50 changes: 50 additions & 0 deletions conformance/reports/v1.2.1/kgateway/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# kgateway

## Table of contents

| API channel | Implementation version | Mode | Report |
|--------------|-------------------------------------------------------------------------------|---------|-----------------------------------------------------------|
| experimental | [v2.0.0](https://github.com/kgateway-dev/kgateway/releases/tag/v2.0.0) | default | [Link](./v2.0.0-report.yaml) |

## Reproduce

> Note: [this is a mirror of the steps outlined in the conformance GHA workflow](https://github.com/kgateway-dev/kgateway/blob/v2.0.0/.github/actions/kube-gateway-api-conformance-tests/action.yaml).

### Prerequisites

In order to properly run the conformance tests, you need to have [KinD](https://github.com/kubernetes-sigs/kind)
and [Helm](https://github.com/helm/helm) available in your environment.
To run the conformance tests suite we will first create a KinD cluster, use Helm to deploy kgateway and finally
run the conformance tests.

### Steps

1. Clone the kgateway repository and checkout the release:

```sh
git clone https://github.com/kgateway-dev/kgateway.git
cd kgateway
export VERSION="v2.0.0"
git checkout tags/$VERSION -b $VERSION
```

2. Create the KinD cluster with [MetalLB](https://metallb.io/):

```sh
SKIP_DOCKER=true CONFORMANCE=true ci/kind/setup-kind.sh
```

3. Deploy kgateway Helm charts:
```sh
helm upgrade -i --create-namespace --namespace kgateway-system --version $VERSION kgateway-crds oci://cr.kgateway.dev/kgateway-dev/charts/kgateway-crds

helm upgrade -i --namespace kgateway-system --version $VERSION kgateway oci://cr.kgateway.dev/kgateway-dev/charts/kgateway
```

4. Run the conformance tests

```sh
make conformance
```

5. View and verify the conformance report: `cat _test/conformance/$VERSION-report.yaml`
51 changes: 51 additions & 0 deletions conformance/reports/v1.2.1/kgateway/v2.0.0-report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
apiVersion: gateway.networking.k8s.io/v1
date: "2025-04-02T15:58:12Z"
gatewayAPIChannel: experimental
gatewayAPIVersion: v1.2.1
implementation:
contact:
- github.com/kgateway-dev/kgateway/issues/new/choose
organization: kgateway-dev
project: kgateway
url: github.com/kgateway-dev/kgateway
version: v2.0.0
kind: ConformanceReport
mode: default
profiles:
- core:
result: success
statistics:
Failed: 0
Passed: 33
Skipped: 0
extended:
result: success
statistics:
Failed: 0
Passed: 10
Skipped: 0
supportedFeatures:
- HTTPRouteBackendProtocolH2C
- HTTPRouteHostRewrite
- HTTPRouteMethodMatching
- HTTPRoutePathRedirect
- HTTPRoutePathRewrite
- HTTPRoutePortRedirect
- HTTPRouteQueryParamMatching
- HTTPRouteRequestMirror
- HTTPRouteResponseHeaderModification
- HTTPRouteSchemeRedirect
unsupportedFeatures:
- GatewayHTTPListenerIsolation
- GatewayInfrastructurePropagation
- GatewayPort8080
- GatewayStaticAddresses
- HTTPRouteBackendProtocolWebSocket
- HTTPRouteBackendRequestHeaderModification
- HTTPRouteBackendTimeout
- HTTPRouteDestinationPortMatching
- HTTPRouteParentRefPort
- HTTPRouteRequestMultipleMirrors
- HTTPRouteRequestTimeout
name: GATEWAY-HTTP
summary: Core tests succeeded. Extended tests succeeded.
12 changes: 12 additions & 0 deletions site-src/implementations.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ cover, and documentation to help users get started.
- [HAProxy Kubernetes Ingress Controller][32] (GA)
- [HashiCorp Consul][8]
- [Istio][9] (GA)
- [kgateway][37]
- [Kong Ingress Controller][10] (GA)
- [Kong Gateway Operator][35] (GA)
- [Kuma][11] (GA)
Expand Down Expand Up @@ -93,6 +94,7 @@ cover, and documentation to help users get started.
[34]:#airlock-microgateway
[35]:#kong-gateway-operator
[36]:#loxilb
[37]:#kgateway


[gamma]:/concepts/gamma/
Expand Down Expand Up @@ -359,6 +361,16 @@ Check out the [Gateway API task][istio-2] for more information about the Gateway
[istio-1]:https://istio.io/latest/docs/tasks/traffic-management/ingress/
[istio-2]:https://istio.io/latest/docs/tasks/traffic-management/ingress/gateway-api/

### kgateway
[![Conformance](https://img.shields.io/badge/Gateway%20API%20Partial%20Conformance%20v1.2.1-kgateway-orange)](https://github.com/kubernetes-sigs/gateway-api/blob/main/conformance/reports/v1.2.1/kgateway)

[kgateway] is a feature-rich, Kubernetes-native ingress controller and next-generation API gateway.
It is focused on maintaining an great HTTP experience, a wealth of features and great interoperability with service mesh such as Istio.
This focus means that you can easily configure a set of Envoy instances that are reasonably distributed in a performant way.

[kgateway]:https://kgateway.dev/docs


### Kong Kubernetes Ingress Controller

[![Conformance](https://img.shields.io/badge/Gateway%20API%20Conformance%20v1.2.1-Kong%20Ingress%20Controller-green)](https://github.com/kubernetes-sigs/gateway-api/blob/main/conformance/reports/v1.2.1/kong-kubernetes-ingress-controller)
Expand Down