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
feat: VPC NodeBalancer backends behind feature flag (#803)
API: add spec.network.enableVPCBackends (default false, immutable). When true and VPCRef/VPCID is set, create the NodeBalancer in the target VPC and prefer VPC backend IPs. NodeBalancerBackendIPv4Range remains optional and is honored when provided.
Services: introduce ShouldUseVPC(scope) and DetermineAPIServerLBPort(scope); EnsureNodeBalancer uses VPC SubnetID and optional IPv4Range; node registration prefers VPC internal IPs when enabled, otherwise falls back to Linode private IPs.
Controller: refactor getIPPortCombo to select VPC IPs first, factor helpers findFirstVPCInternalIP/findFirstPrivateInternalIP and buildPortCombosForIP; reuse DetermineAPIServerLBPort for DNS endpoint.
CRDs+Docs: extend LinodeCluster CRDs with enableVPCBackends (default false, immutable); update docs reference for the new field.
Tests: update unit tests to set EnableVPCBackends=true in VPC scenarios and to use new helpers; keep behavior unchanged when flag is false.
Copy file name to clipboardExpand all lines: docs/src/reference/out.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1171,6 +1171,7 @@ _Appears in:_
1171
1171
|`subnetName`_string_| subnetName is the name/label of the VPC subnet to be used by the cluster |||
1172
1172
|`useVlan`_boolean_| UseVlan provisions a cluster that uses VLANs instead of VPCs. IPAM is managed internally. |||
1173
1173
|`nodeBalancerBackendIPv4Range`_string_| NodeBalancerBackendIPv4Range is the subnet range we want to provide for creating nodebalancer in VPC.<br />example: 10.10.10.0/30 |||
1174
+
|`enableVPCBackends`_boolean_| EnableVPCBackends toggles VPC-scoped NodeBalancer and VPC backend IP usage.<br />If set to false (default), the NodeBalancer will not be created in a VPC and<br />backends will use Linode private IPs. If true, the NodeBalancer will be<br />created in the configured VPC (when VPCRef or VPCID is set) and backends<br />will use VPC IPs. | false ||
0 commit comments