# Addon: EasyHAProxy

**URL:** <https://discuss.kubernetes.io/t/addon-easyhaproxy/23183>\
**Category:** microk8s\
**Tags:** docs\
**Created:** [February 23, 2023, 9:53am UTC](https://discuss.kubernetes.io/t/addon-easyhaproxy/23183 "2023-02-23T09:53:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kjackal](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/kjackal/32/1750_2.png) [@kjackal](https://discuss.kubernetes.io/u/kjackal)\
**Post date:** [February 23, 2023, 9:53am UTC](https://discuss.kubernetes.io/t/addon-easyhaproxy/23183/1 "2023-02-23T09:53:05Z")

</div>

![1.27](https://img.shields.io/badge/From%20version-1.27-brightgreen?style=for-the-badge&logo=kubernetes&labelColor=ddd)  
**Compatibility** : ![amd64](https://img.shields.io/badge/amd64-%E2%9C%93-383) ![arm64](https://img.shields.io/badge/arm64-%E2%9C%93-orange) ![strict](https://img.shields.io/badge/strict-%E2%9C%93-85f) ![classic](https://img.shields.io/badge/classic-%E2%9C%93-338)  
**Source** : [EasyHAProxy](https://opensource.byjg.com/docs/devops/docker-easy-haproxy/)

[EasyHAProxy](https://opensource.byjg.com/docs/devops/docker-easy-haproxy/) can automatically configure HAProxy as an ingress, based on the labels defined in deployed containers. Another advantage of HAProxy is that it provides TCP endpoints.

To enable the add-on:

```bash
microk8s enable easyhaproxy [--nodeport]

```

By default, HAProxy is setup as a daemonset. The `--nodeport` can be used to setup HAProxy on a node port.

To disable the addon:

```bash
microk8s disable easyhaproxy

```
