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/ingress/ingress_class.md
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -181,7 +181,7 @@ You can use IngressClassParams to enforce settings for a set of Ingresses.
181
181
metadata:
182
182
name: class2048-config
183
183
spec:
184
-
ipamConfiguration:
184
+
ipamConfiguration:
185
185
ipv4IPAMPoolId: ipam-pool-000000000
186
186
```
187
187
- with PrefixListsIDs (not recommended, use prefixListsIDs instead)
@@ -265,6 +265,7 @@ Cluster administrators can use the optional `inboundCIDRs` field to specify the
265
265
If the field is specified, LBC will ignore the `alb.ingress.kubernetes.io/inbound-cidrs` annotation.
266
266
267
267
#### spec.certificateArn
268
+
268
269
Cluster administrators can use the optional `certificateARN` field to specify the ARN of the certificates for all Ingresses that belong to IngressClass with this IngressClassParams.
269
270
270
271
If the field is specified, LBC will ignore the `alb.ingress.kubernetes.io/certificate-arn` annotation.
@@ -349,7 +350,7 @@ Cluster administrators can use `ipamConfiguration` field to specify the IPv4 IPA
349
350
350
351
#### spec.PrefixListsIDs
351
352
352
-
We accept either `spec.prefixListsIDs` or `spec.PrefixListsIDs`. Specify both is not allowed. But `spec.PrefixListsIDs` is not recommended, use `spec.prefixListsIDs` instead.
353
+
We accept either `spec.prefixListsIDs` or `spec.PrefixListsIDs`. Specify both is not allowed. But `spec.PrefixListsIDs` is not recommended, use `spec.prefixListsIDs` instead.
353
354
354
355
`PrefixListsIDs` is an optional setting.
355
356
@@ -358,7 +359,6 @@ Cluster administrators can use `PrefixListsIDs` field to specify the managed pre
358
359
1. If `PrefixListsIDs` is set, the prefix lists defined will be applied to the load balancer that belong to this IngressClass. If you specify invalid prefix list IDs, the controller will fail to reconcile ingresses belonging to the particular ingress class.
359
360
2. If `PrefixListsIDs` un-specified, Ingresses with this IngressClass can continue to use `alb.ingress.kubernetes.io/security-group-prefix-lists` annotation to specify the load balancer prefix lists.
360
361
361
-
362
362
#### spec.prefixListsIDs
363
363
364
364
`prefixListsIDs` is an optional setting.
@@ -372,10 +372,16 @@ Cluster administrators can use `prefixListsIDs` field to specify the managed pre
372
372
373
373
`listeners` is an optional setting.
374
374
375
-
!!!note
375
+
!!!note
376
376
Adding listeners in the classparam specification does not automatically create listeners on your load balancers. To create listeners, you must explicitly define the listen ports in your ingress configurations. The classparam `spec.listeners` are only used to set attributes for the listeners that you define in your ingresses.
377
377
378
378
Cluster administrators can use `Listeners` field to specify the [Listener Attributes](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#listener-attributes) for multiple load balancer listeners associated with this IngressClass. For each listener entry in the list, the desired attributes and their values are specified in the `listenerAttributes` field. Each listener is uniquely identified by its `port` and `protocol` fields, which determine which listener the attributes should be applied to.
379
379
380
380
1. If `listeners` is set, the defined attributes will be applied to the corresponding load balancer listeners based on port and protocol matching. Note that using invalid keys or values will cause the controller to fail when reconciling ingresses in this IngressClass.
381
381
2. If `Listeners` un-specified, Ingresses with this IngressClass can continue to use `alb.ingress.kubernetes.io/listener-attributes.${Protocol}-{Port}` annotation to specify the listener attributes.
382
+
383
+
#### spec.wafv2AclArn
384
+
385
+
Cluster administrators can use the optional `wafv2AclArn` field to specify ARN for the Amazon WAFv2 web ACL.
386
+
Only Regional WAFv2 is supported.
387
+
When this annotation is absent or empty, the controller will keep LoadBalancer WAFv2 settings unchanged. To disable WAFv2, explicitly set the annotation value to 'none'.
0 commit comments