# Exposing a service in microk8s cluster using metallb

**URL:** <https://discuss.kubernetes.io/t/exposing-a-service-in-microk8s-cluster-using-metallb/29896>\
**Category:** microk8s\
**Tags:** loadbalancer, metallb\
**Created:** [September 26, 2024, 8:17am UTC](https://discuss.kubernetes.io/t/exposing-a-service-in-microk8s-cluster-using-metallb/29896 "2024-09-26T08:17:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanjay.lonkar](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@sanjay.lonkar](https://discuss.kubernetes.io/u/sanjay.lonkar)\
**Post date:** [September 26, 2024, 8:17am UTC](https://discuss.kubernetes.io/t/exposing-a-service-in-microk8s-cluster-using-metallb/29896/1 "2024-09-26T08:17:18Z")

</div>

I provided a public IP range instead of a private one so that services can be accessed over the internet. One of the public IPs got assigned to my exposed service, but I’m unable to access it over the internet. Can sombody please help what I am missing to get the exposed service accessible over the internet?

---

<div class="post-metadata">

**Author:** ![Faruk\_Umar](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/faruk_umar/32/17688_2.png) [@Faruk\_Umar](https://discuss.kubernetes.io/u/Faruk_Umar)\
**Post date:** [September 27, 2025, 9:37am UTC](https://discuss.kubernetes.io/t/exposing-a-service-in-microk8s-cluster-using-metallb/29896/2 "2025-09-27T09:37:40Z")

</div>

The IPs of all the nodes in your cluster must be within the same subnet for it to work. or you implement the bgp mode.
