Consistently implement an interface to provide a Virtual IP
resource to be consumed across all networking resources
#1116
Labels
Virtual IP
resource to be consumed across all networking resources
#1116
Summary
A
NetworkInterface
exposes the possibility to configure either a predefinedVirtual IP
resource or have it ephemerally managed by a template configuration (see https://github.com/ironcore-dev/ironcore/blob/main/api/networking/v1alpha1/networkinterface_types.go#L50-L56).Other
Networking
resources such asLoadbalancers
orNATGateways
do not expose such an interface and therefore it is not possible to attach a predefinedVirtual IP
to said resources. Here we request to introduce the same contract consistently across relevantNetworking
resources.Basic example
This example shows the configuration for a
NATGateway
to define an ephemerally managedVirtual IP
. This definition is the same as omitting the configuration altogether as aNATGateway
always has a public IP address allocated. The difference here is that claiming this public IP address is done by creating and claiming aVirtual IP
resource.The next example shows the configuration of a predefined
Virtual IP
resource namedvip
:Motivation
Very strict configuration for e.g. VPN setups with well-defined IP addresses require the possibility to configure an exact prefix for
Networking
resources.The text was updated successfully, but these errors were encountered: