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: extend environment variables for default load balancer configuration (#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`
Copy file name to clipboardExpand all lines: docs/guides/load-balancer/configuration.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,17 @@ Load Balancers are configured via Kubernetes [annotations](https://kubernetes.io
6
6
7
7
For convenience, you can set the following environment variables as cluster-wide defaults, so you don't have to set them on each load balancer service. If a load balancer service has the corresponding annotation set, it overrides the default.
8
8
9
+
-`HCLOUD_LOAD_BALANCERS_ALGORITHM_TYPE`
10
+
-`HCLOUD_LOAD_BALANCERS_DISABLE_IPV6`
11
+
-`HCLOUD_LOAD_BALANCERS_DISABLE_PRIVATE_INGRESS`
12
+
-`HCLOUD_LOAD_BALANCERS_DISABLE_PUBLIC_NETWORK`
13
+
-`HCLOUD_LOAD_BALANCERS_ENABLED`
14
+
-`HCLOUD_LOAD_BALANCERS_HEALTH_CHECK_INTERVAL`
15
+
-`HCLOUD_LOAD_BALANCERS_HEALTH_CHECK_RETRIES`
16
+
-`HCLOUD_LOAD_BALANCERS_HEALTH_CHECK_TIMEOUT`
9
17
-`HCLOUD_LOAD_BALANCERS_LOCATION` (mutually exclusive with `HCLOUD_LOAD_BALANCERS_NETWORK_ZONE`)
10
18
-`HCLOUD_LOAD_BALANCERS_NETWORK_ZONE` (mutually exclusive with `HCLOUD_LOAD_BALANCERS_LOCATION`)
0 commit comments