Skip to content

Commit 079963d

Browse files
committed
fix: add step for creating the GatewayClass
Signed-off-by: Huabing (Robin) Zhao <[email protected]>
1 parent f1245a3 commit 079963d

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)