Add Router support & poolMemberNetwork for LB - #74
Open
mweibel wants to merge 2 commits into
Open
Conversation
Add spec.controlPlaneLoadBalancer.poolMemberNetwork so the LB pool members' subnet can be selected independently of the VIP placement, e.g. a public VIP with private control-plane nodes or a private VIP on a dedicated access network. getPoolMemberSubnetID now prefers an explicit poolMemberNetwork and errors while the referenced network is not provisioned yet, falling back to the previous behaviour (LB network, else the first network) when it is unset. The webhook validates the network reference on create and update, treats the field as strictly immutable (it cannot be set after creation either, since the controller does not migrate live pool members between subnets), and validateLBPoolMemberNetworkResolvable now accepts either network or poolMemberNetwork when multiple networks are defined.
mweibel
force-pushed
the
feat-router-v2
branch
from
August 24, 2026 10:25
20fd9e3 to
bdd7ce9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change implements two new features in separate commits:
Pool Member Network for LoadBalancer
When specifying a
poolMemberNetworkon thecontrolPlaneLoadBalancer, the LoadBalancer Members get created with the Network->Subnet specified to what has been configured. This allows us to better specify the LoadBalancer frontend and backend networks. The existingnetworksetting will place the LoadBalancer frontend on that network when specified. If not specified, the LB will get a VIP from the public network instead.Router
Implements the newly released Router feature for CAPCS.
A CloudscaleCluster can now be set up with 0-n routers, allowing for much more flexible and private network topologies. The accompanying new template
router-natplaces the control-plane and worker nodes in a private network and does not attach them to the public network. Using the router withinternetGateway: trueand set as the default gateway of the specified network, will enable the nodes to communicate with the internet while ingress is only permitted via the LB -> Kubernetes API server.Reviewer notes
The
govulncheckfailure is because the specified Go version has some potential vulnerabilities fixed in a newer version. Fixing this would be part of a separate PR.