Skip to content

NGINX LoadBalancer Service IPFamily should match ipFamily from NginxProxy configuration #3473

Closed
@sjberman

Description

@sjberman

When provisioning the NGINX LoadBalancer Service, the IPFamily should be set based on the ipFamily that is set in the NginxProxy resource for the associated Gateway for that Service.

Right now we just create the Service with the Kubernetes default values, which will likely be SingleStack IPv4 in most cases.

Since a user can no longer manually edit the LoadBalancer Service as of our 2.0 release (due to the fact that the control plane provisions and controls it based on the NginxProxy config), this could block users from using dual stack IP traffic.

A user could set to SingleStack IPv6 if they configure their kube-apiserver with an IPv6 address range for the first argument in the --service-cluster-ip-range parameter, but I'm not sure if there's a way to configure k8s itself to default to dual stack.

Acceptance

  • When provisioning the NGINX Service, set the ipFamily and ipFamilyPolicy fields based on the ipFamily field in the NginxProxy resource (default is DualStack)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghighlightRelates to features that should be promoted despite not being an epic

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions