-
Notifications
You must be signed in to change notification settings - Fork 131
feat(load-balancer): attach load balancer to specific subnetwork #1031
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1031 +/- ##
==========================================
+ Coverage 66.94% 67.52% +0.58%
==========================================
Files 23 23
Lines 3237 3249 +12
==========================================
+ Hits 2167 2194 +27
+ Misses 901 885 -16
- Partials 169 170 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This PR adds a new annotation `load-balancer.hetzner.cloud/network-ip-range`. With this annotation a user can control to which subnetwork a Load Balancer should be attached to. The value must be in the CIDR notation.
c8565b8 to
0091276
Compare
|
I have added a small section to our Private Networks Load Balancers guide. |
…ation (#1052) This PR introduces additional environment variables for load balancer configuration. These variables are designed to be set globally as defaults and can be overridden using annotations. The main motivation is to improve support for GatewayAPI, as the `Gateway` annotation limit of 8 is restrictive and many settings are commonly needed across all load balancers from the same or even differen GatewayAPI providers. Additionally, this change allows environment-specific presets such as the new [subnet IP range](#1031) to be set globally. This removes the need to configure these settings in each service or use templating/patching to use the same service manifest for different environments. New environment vars: - `HCLOUD_LOAD_BALANCERS_ALGORITHM_TYPE` - `HCLOUD_LOAD_BALANCERS_DISABLE_PUBLIC_NETWORK` - `HCLOUD_LOAD_BALANCERS_HEALTH_CHECK_INTERVAL` - `HCLOUD_LOAD_BALANCERS_HEALTH_CHECK_RETRIES` - `HCLOUD_LOAD_BALANCERS_HEALTH_CHECK_TIMEOUT` - `HCLOUD_LOAD_BALANCERS_PRIVATE_SUBNET_IP_RANGE` - `HCLOUD_LOAD_BALANCERS_TYPE` - `HCLOUD_LOAD_BALANCERS_USES_PROXYPROTOCOL`
This PR adds a new annotation. This allows users to control which subnetwork a Load Balancer should be attached to. The value must be in the CIDR notation.