Skip to content

Load Balancer with private IP-Address - MK-2795 #295

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,34 @@ Number of IPs per podCIDRs: 128
```

Mit der obigen Konfiguration kann ein Shoot-Cluster höchstens **32 Knoten** haben, die bereit sind, Arbeitslasten im Pod-Netzwerk auszuführen.


## Load Balancer mit privater IP-Adresse

Für den Load Balancer kann eine beliebige, freie IP-Adresse aus dem Node-Netzwerk 10.250.0.0/16 des jeweiligen PSKE-Clusters verwendet werden.

Konfigurationsoptionen:

- keep-floatingip: true | false
- Reserviert die Floating IP-Adresse in OpenStack.

- proxy-protocol: true | false
- Aktiviert oder deaktiviert die Unterstützung für das Proxy Protocol.

- openstack-internal-load-balancer: true | false
- Erstellt einen internen Load Balancer in OpenStack ohne Zuweisung einer Floating IP.

- loadBalancerIP: 10.250.0.2
- Gibt die IP-Adresse des Load Balancers an.

Bei einem internen Load Balancer (openstack-internal-load-balancer: true) wird hier die private IPv4-Adresse innerhalb des Clusternetzes definiertAlternativ kann hier eine bereits reservierte Floating IP verwendet werden, wenn openstack-internal-load-balancer auf false gesetzt ist.

```yaml
service:
annotations:
loadbalancer.openstack.org/proxy-protocol: "true"
loadbalancer.openstack.org/keep-floatingip: "false"
service.beta.kubernetes.io/openstack-internal-load-balancer: "true"
loadbalancer.openstack.org/loadBalancerIP: 10.250.0.2
```

Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,34 @@ Number of IPs per podCIDRs: 128
```

With the configuration above, a Shoot cluster can at most have **32 nodes** which are ready to run workload in the Pod network.


## Load Balancer with Private IP Address

Any available, unused IP address from the node network 10.250.0.0/16 of the respective PSKE cluster can be used for the load balancer.

Configuration options:

- keep-floatingip: true | false
- Reserves the floating IP address in OpenStack.

- proxy-protocol: true | false
- Enables or disables support for the Proxy Protocol.

- openstack-internal-load-balancer: true | false
- Creates an internal load balancer in OpenStack without assigning a floating IP.

- loadBalancerIP: 10.250.0.2
- Specifies the IP address of the load balancer.

For an internal load balancer (openstack-internal-load-balancer: true), this defines the private IPv4 address within the cluster network.
Alternatively, a previously reserved floating IP can be used here if openstack-internal-load-balancer is set to false.

```yaml
service:
annotations:
loadbalancer.openstack.org/proxy-protocol: "true"
loadbalancer.openstack.org/keep-floatingip: "false"
service.beta.kubernetes.io/openstack-internal-load-balancer: "true"
loadbalancer.openstack.org/loadBalancerIP: 10.250.0.2
```