Expose Openshift ingressControllers with LoadBalancerService endpoint publishing strategy using MetalLB

Solution Verified - Updated -

Issue

  • How to change the default ingress controller endpointPublishingStrategy from HostNetwork to LoadBalancerService when using MetalLB operator?
  • How to create additional ingress controllers for router sharding using endpointPublishingStrategy LoadBalancerService instead of NodePortService?

Environment

  • Red Hat OpenShift Container Platform
    • 4.11 and above.
  • Red Hat MetalLB Operator
    • 4.11 and above.

Note: This only applies to UPI bare metal, vSphere or similar non-cloud installations of OCP.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content