Skip to content

Commit f19b11d

Browse files
committed
capi/aws: enable cross zone in internal LB
For parity with our terraform configs.
1 parent 6a1f0fd commit f19b11d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pkg/asset/manifests/aws/cluster.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,10 @@ func GenerateClusterAssets(installConfig *installconfig.InstallConfig, clusterID
152152
PresignedURLDuration: &metav1.Duration{Duration: 1 * time.Hour},
153153
},
154154
ControlPlaneLoadBalancer: &capa.AWSLoadBalancerSpec{
155-
Name: ptr.To(clusterID.InfraID + "-int"),
156-
LoadBalancerType: capa.LoadBalancerTypeNLB,
157-
Scheme: &capa.ELBSchemeInternal,
155+
Name: ptr.To(clusterID.InfraID + "-int"),
156+
LoadBalancerType: capa.LoadBalancerTypeNLB,
157+
Scheme: &capa.ELBSchemeInternal,
158+
CrossZoneLoadBalancing: true,
158159
AdditionalListeners: []capa.AdditionalListenerSpec{
159160
{
160161
Port: 22623,

0 commit comments

Comments
 (0)