How to assign a static IP address to a LoadBalancer service with MetalLB in OpenShift

Solution Verified - Updated -

Issue

  • How to assign a static IP address to a LoadBalancer service for an application using metalLB

  • Need to configure the service with a fixed IP from the configured MetalLB pool.

Environment

Red Hat OpenShift Container Platform 4.x

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