You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/gateway/gateway.md
+26-4Lines changed: 26 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ The LBC is built for Gateway API version v1.5.0.
18
18
* For `ip` target type:
19
19
* Pods have native AWS VPC networking configured. For more information, see the [Amazon VPC CNI plugin](https://github.com/aws/amazon-vpc-cni-k8s#readme) documentation.
20
20
* Installation of Gateway API CRDs — choose one of:
21
-
***Helm (recommended):**enable via Helm values when installing or upgrading the chart:
21
+
***`helm template`(recommended):**render the chart locally and pipe into `kubectl apply --server-side`. The chart bundles Gateway API CRDs under `crds/`, so this installs them without creating a Helm release secret. Enable CRDs in your values file:
22
22
```yaml
23
23
crds:
24
24
gatewayAPI:
@@ -27,10 +27,32 @@ The LBC is built for Gateway API version v1.5.0.
27
27
experimental:
28
28
enabled: true # optional, required for L4 (TCPRoute, UDPRoute, TLSRoute)
* Experimental: `kubectl apply --server-side=true -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.5.0/experimental-install.yaml`[OPTIONAL: Used for L4 Routes]
33
-
* Installation of LBC Gateway API specific CRDs: `kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/refs/heads/main/config/crd/gateway/gateway-crds.yaml`
* Experimental: `kubectl apply --server-side -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.5.0/experimental-install.yaml`[OPTIONAL: Used for L4 Routes]
42
+
43
+
!!! warning "Do not install Gateway API CRDs via `helm install` or `helm upgrade`"
44
+
Helm stores a gzip-compressed copy of every rendered manifest in a Kubernetes Secret (capped at 1 MB). Gateway API CRDs are large enough to exceed this limit, causing installs and upgrades to fail:
45
+
```
46
+
Error: UPGRADE FAILED: create: failed to create: Secret
47
+
"sh.helm.release.v1.aws-load-balancer-controller.v2" is invalid:
48
+
data: Too long: must have at most 1048576 bytes
49
+
```
50
+
Use `helm template --include-crds | kubectl apply --server-side` to install CRDs out-of-band. This is the same pattern used by [Envoy Gateway](https://gateway.envoyproxy.io/docs/install/install-helm/) for the same reason.
0 commit comments