1.1 KiB
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.
- Access the microk8s host machine and run:
microk8s addons repo add byjg https://github.com/byjg/microk8s-addons.git
- 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.