|
| 1 | +# ACK (AlibabaCloud Container Service for Kubernetes) Gateway with Inference Extension |
| 2 | + |
| 3 | +## Table of Contents |
| 4 | + |
| 5 | +| Extension Version Tested | Profile Tested | Implementation Version | Mode | Report | |
| 6 | +|--------------------------|----------------|------------------------|---------|----------------------------------------------------------------------------| |
| 7 | +| v0.5.1 | Gateway | v1.4.0-apsara.3 | default | [v1.4.0-apsara.3 Gateway report](./v1.4.0-apsara.3-gateway-report.yaml) | |
| 8 | +| ... | ... | ... | ... | ... | |
| 9 | + |
| 10 | +## Reproduce |
| 11 | + |
| 12 | +ACK Gateway with Inference Extension conformance report can be reproduced by the following steps. |
| 13 | + |
| 14 | +1. Create an ACK managed cluster following [guide](https://www.alibabacloud.com/help/en/ack/ack-managed-and-ack-dedicated/user-guide/create-an-ack-managed-cluster-2/). |
| 15 | + |
| 16 | +2. Install ACK Gateway with Inference Extension following Step 2 in [documentation](https://www.alibabacloud.com/help/en/cs/user-guide/intelligent-routing-and-traffic-management-with-ack-gateway-inference-extension). |
| 17 | + |
| 18 | +3. Open `SELF_HOST_EPP` mode for the Gateway controller with following command: |
| 19 | + ``` |
| 20 | + kubectl patch deployment envoy-gateway -n envoy-gateway-system --type='json' -p='[ |
| 21 | + { |
| 22 | + "op": "add", |
| 23 | + "path": "/spec/template/spec/containers/0/env/-", |
| 24 | + "value": { |
| 25 | + "name": "SELF_HOST_EPP", |
| 26 | + "value": "true" |
| 27 | + } |
| 28 | + }, |
| 29 | + { |
| 30 | + "op": "add", |
| 31 | + "path": "/spec/template/spec/containers/1/env/-", |
| 32 | + "value": { |
| 33 | + "name": "SELF_HOST_EPP", |
| 34 | + "value": "true" |
| 35 | + } |
| 36 | + } |
| 37 | + ]' |
| 38 | + ``` |
| 39 | +
|
| 40 | +4. Run the following command from within the [Gateway API inference extension repo](https://github.com/kubernetes-sigs/gateway-api-inference-extension/tree/v0.5.1). |
| 41 | +
|
| 42 | + ``` |
| 43 | + go test -timeout 30m ./conformance -v -args \ |
| 44 | + --gateway-class=ack-gateway \ |
| 45 | + --conformance-profiles=Gateway \ |
| 46 | + --organization=AlibabaCloud \ |
| 47 | + --project=ack-gateway-with-inference-extension \ |
| 48 | + --url= https://www.alibabacloud.com/help/en/cs/user-guide/gateway-with-inference-extension-overview\ |
| 49 | + --version=v1.4.0-apsara.3 \ |
| 50 | + --contact=https://smartservice.console.aliyun.com/service/create-ticket \ |
| 51 | + --report-output="/path/to/report" |
| 52 | + ``` |
0 commit comments