---
title: Charmhub | Deploy Containers Metallb using Charmhub - The Open Operator Collection
description: Deploy the latest version of Containers Metallb as a Kubernetes Operator
  on any cloud.
url: https://charmhub.io/containers-metallb/configurations/metallb-controller
---

##### We've discontinued the registration of new Bundles

New Bundle registrations are no longer accepted. Existing bundles remain functional. We recommend using the Juju Terraform Provider for new deployments.

[Learn more](https://discourse.charmhub.io/t/discontinuing-new-charmhub-bundle-registrations/15344)

# Containers Metallb

[Canonical Kubernetes](https://charmhub.io/publisher/containers "View all packages from Canonical Kubernetes")
| bundle

* [Canonical Kubernetes](https://charmhub.io/publisher/containers "View all packages from Canonical Kubernetes")
  | bundle

Platform:

stable 1

```
juju deploy containers-metallb
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [Metallb Controller](https://charmhub.io/containers-metallb/configurations/metallb-controller)
* [Metallb Speaker](https://charmhub.io/containers-metallb/configurations/metallb-speaker)

[Learn about configurations >](https://juju.is/docs/juju/configuration#heading--application-configuration)

* iprange | string

  Default: 192.168.1.240-192.168.1.247

  For the Layer 2 Configuration only. This is the IP range from which MetalLB
  will have control over and choose IPs from to distribute to kubernetes services
  requesting an external IP of type Load Balancer. The ip range can be specified as
  a range (i.e 192.168.1.240-192.168.1.247") or as a CIDR (i.e "192.168.1.240/29")
  To be able to specify more than one ip pool, only the CIDR notation can be used
  (i.e "192.168.1.88/31,192.168.1.240/30").
* protocol | string

  Default: layer2

  Type of configuration to use to announce service IPs. Upstream MetalLB supports
  both Layer 2 and BGP configuration. This charm currently only support the
  option 'layer2'. The layer 2 configuration works by responding to ARP requests
  on your local network directly, to give the machine's MAC address to clients.
