1
0
Fork 0
docker-easy-haproxy/docs/microk8s.md
2023-02-12 09:51:54 -06:00

1.1 KiB

Microk8s Add-ons

Microk8s is a lightweight Kubernetes distribution that can run on a single machine. It is very easy to install and use. You can add custom addons to your Microk8s installation. Here are the steps to install EasyHAProxy on your Microk8s.

Installing ByJG repository

Before install the addons, you need to add the ByJG repository to your Microk8s installation.

  1. Access the microk8s host machine and run:
microk8s addons repo add byjg https://github.com/byjg/microk8s-addons.git
  1. Check if it is installed:
$ microk8s status

microk8s is running
...
addons:
  ...
  disabled:
    easyhaproxy          # (byjg) EasyHAProxy can detect and configure HAProxy automatically based on ingress labels
    ....

Installing EasyHAProxy addon

EasyHAProxy can detect and configure HAProxy automatically based on ingress labels.

Usage:

Install as a Daemonset

microk8s enable easyhaproxy

Install as a NodePort

microk8s enable easyhaproxy --nodeport

For more parameters you can refer to the Kubernetes page.


Open source ByJG