Skip to content

Commit 62b03f0

Browse files
authored
fix(docs): add step for creating the GatewayClass (#1984)
Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>
1 parent 2c54589 commit 62b03f0

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

docs/kubernetes/ingress.mdx

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,32 @@ OpenShell uses the [Kubernetes Gateway API](https://gateway-api.sigs.k8s.io) for
1414

1515
## Install Envoy Gateway
1616

17-
Envoy Gateway installs the Gateway API CRDs and registers the `eg` GatewayClass:
17+
Envoy Gateway installs the Gateway API CRDs and controller:
1818

1919
```shell
2020
helm install eg \
2121
oci://docker.io/envoyproxy/gateway-helm \
22-
--version v1.7.2 \
22+
--version v1.8.1 \
2323
--namespace envoy-gateway-system \
2424
--create-namespace \
2525
--wait
2626
```
2727

28+
## Create the GatewayClass
29+
30+
Create the `eg` GatewayClass that the OpenShell chart references:
31+
32+
```shell
33+
kubectl apply -f - <<'EOF'
34+
apiVersion: gateway.networking.k8s.io/v1
35+
kind: GatewayClass
36+
metadata:
37+
name: eg
38+
spec:
39+
controllerName: gateway.envoyproxy.io/gatewayclass-controller
40+
EOF
41+
```
42+
2843
Verify the GatewayClass is accepted:
2944

3045
```shell

0 commit comments

Comments
 (0)