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/loadbalancerconfig.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,26 @@ Defines the LoadBalancer Scheme.
65
65
66
66
**Default** internal
67
67
68
+
#### Region
69
+
70
+
`region`
71
+
72
+
The AWS region where the load balancer will be deployed. When unset, the controller's default region (from `--aws-region` or environment) is used. When set to a different region, you must specify the VPC in that region using one of: `vpcId`, `vpcSelector`, or `loadBalancerSubnets` with subnet identifiers so the controller can resolve the VPC.
73
+
74
+
**Default** Controller's default region
75
+
76
+
#### VpcID
77
+
78
+
`vpcId`
79
+
80
+
The VPC ID in the target region. Used when `region` is set, especially when it differs from the controller default. Required (or use `vpcSelector` / `loadBalancerSubnets` with identifiers) when deploying to a non-default region.
81
+
82
+
#### VpcSelector
83
+
84
+
`vpcSelector`
85
+
86
+
Selects the VPC in the target region by tags. Same shape as `loadBalancerSubnetsSelector`: each key is a tag name, the value list is the allowed tag values. A VPC matches if it has each tag key with one of the corresponding values. Exactly one VPC must match in the target region. Use when `region` is set and you prefer tag-based selection over a fixed `vpcId`.
Copy file name to clipboardExpand all lines: docs/guide/gateway/spec.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -460,6 +460,9 @@ _Appears in:_
460
460
| Field | Description | Default | Validation |
461
461
| --- | --- | --- | --- |
462
462
|`mergingMode`_[LoadBalancerConfigMergeMode](#loadbalancerconfigmergemode)_| mergingMode defines the merge behavior when both the Gateway and GatewayClass have a defined LoadBalancerConfiguration.<br />This field is only honored for the configuration attached to the GatewayClass. || Enum: [prefer-gateway prefer-gateway-class] <br /> |
463
+
|`region`_string_| region is the AWS region where the load balancer will be deployed. When unset, the controller's default region is used. When set to a different region, set vpcId, vpcSelector, or loadBalancerSubnets with identifiers so the VPC can be resolved. |||
464
+
|`vpcId`_string_| vpcId is the VPC ID in the target region. Used when region is set (especially when it differs from the controller default). |||
465
+
|`vpcSelector`_map[string][]string_| vpcSelector selects the VPC in the target region by tags. Each key is a tag name; the value list is the allowed tag values. Exactly one VPC must match in the target region. |||
463
466
|`loadBalancerName`_string_| loadBalancerName defines the name of the LB to provision. If unspecified, it will be automatically generated. || MaxLength: 32 <br />MinLength: 1 <br /> |
464
467
|`scheme`_[LoadBalancerScheme](#loadbalancerscheme)_| scheme defines the type of LB to provision. If unspecified, it will be automatically inferred. || Enum: [internal internet-facing] <br /> |
465
468
|`ipAddressType`_[LoadBalancerIpAddressType](#loadbalanceripaddresstype)_| loadBalancerIPType defines what kind of load balancer to provision (ipv4, dual stack) || Enum: [ipv4 dualstack dualstack-without-public-ipv4] <br /> |
@@ -472,7 +475,6 @@ _Appears in:_
472
475
|`securityGroups`_string_| securityGroups an optional list of security group ids or names to apply to the LB |||
473
476
|`securityGroupPrefixes`_string_| securityGroupPrefixes an optional list of prefixes that are allowed to access the LB. |||
474
477
|`sourceRanges`_string_| sourceRanges an optional list of CIDRs that are allowed to access the LB. |||
475
-
|`vpcId`_string_| vpcId is the ID of the VPC for the load balancer. |||
476
478
|`loadBalancerAttributes`_[LoadBalancerAttribute](#loadbalancerattribute) array_| LoadBalancerAttributes defines the attribute of LB |||
477
479
|`tags`_map[string]string_| Tags the AWS Tags on all related resources to the gateway. |||
478
480
|`enableICMP`_boolean_| EnableICMP [Network LoadBalancer]<br />enables the creation of security group rules to the managed security group<br />to allow explicit ICMP traffic for Path MTU discovery for IPv4 and dual-stack VPCs |||
// Use region-scoped networking SG manager and reconciler per cloud so the deployer lists/finds SGs and reconciles ingress in the target region (fixes cross-region Duplicate and DescribeSecurityGroups NotFound).
0 commit comments