|  | 
|  | 1 | +# GKE (Google Kubernetes Engine) Gateway | 
|  | 2 | + | 
|  | 3 | +## Table of Contents | 
|  | 4 | + | 
|  | 5 | +| Extension Version Tested | Profile Tested | Implementation Version | Mode    | Report                                                                     | | 
|  | 6 | +|--------------------------|----------------|------------------------|---------|----------------------------------------------------------------------------| | 
|  | 7 | +| v0.5.0                   | Gateway        | 1.32.4-gke.1415000                | gke-l7-regional-external-managed | [v1.32.4 Gateway report](./standard-v1.32.4-rxlb-gateway-report.yaml) | | 
|  | 8 | +| ...                      | ...            | ...                    | ...     | ...                                                                        | | 
|  | 9 | + | 
|  | 10 | +## Reproduce | 
|  | 11 | + | 
|  | 12 | +GKE Gateway conformance report can be reproduced by the following steps. | 
|  | 13 | + | 
|  | 14 | +1. Create a GKE cluster with Gateway API enabled. | 
|  | 15 | + | 
|  | 16 | +    ``` | 
|  | 17 | +    gcloud container clusters create "${cluster_name}" --gateway-api=standard --location="${location}" | 
|  | 18 | +    ``` | 
|  | 19 | +1. Deploy GKE gateway following [guide](https://cloud.google.com/kubernetes-engine/docs/how-to/deploying-gateways#configure_a_proxy-only_subnet). | 
|  | 20 | +
 | 
|  | 21 | +1. Install the InferencePool and InferenceModel Custom Resource Definition (CRDs) in your GKE cluster, run the following command: | 
|  | 22 | +    ``` | 
|  | 23 | +    kubectl apply -f https://github.com/kubernetes-sigs/gateway-api-inference-extension/releases/download/v0.5.0/manifests.yaml | 
|  | 24 | +    ``` | 
|  | 25 | +
 | 
|  | 26 | +1. Run the following command from within the [Gateway API inference extension repo](https://github.com/kubernetes-sigs/gateway-api-inference-extension). | 
|  | 27 | +
 | 
|  | 28 | +    ``` | 
|  | 29 | +    go test -timeout 30m ./conformance -v -args \ | 
|  | 30 | +        --gateway-class=gke-l7-regional-external-managed \ | 
|  | 31 | +        --conformance-profiles=Gateway \ | 
|  | 32 | +        --organization=GKE \ | 
|  | 33 | +        --project=gke-gateway \ | 
|  | 34 | +        --url=https://cloud.google.com/kubernetes-engine/docs/concepts/gateway-api \ | 
|  | 35 | +        --version=1.32.4-gke.1415000 \ | 
|  | 36 | + | 
|  | 37 | +        --report-output="/path/to/report" | 
|  | 38 | +    ``` | 
|  | 39 | +
 | 
|  | 40 | +    or run a single conformance test case. | 
|  | 41 | +
 | 
|  | 42 | +    ``` | 
|  | 43 | +    go test ./conformance -v -args \ | 
|  | 44 | +        -gateway-class=gke-l7-regional-external-managed \ | 
|  | 45 | +        -run-test=InferencePoolAccepted | 
|  | 46 | +    ``` | 
0 commit comments