You can use this role to install MetalLb. MetalLB is a load-balancer implementation for bare metal Kubernetes clusters, using standard routing protocols.
First you need instal the role:
-
Clone this role:
git clone git@github.com:hatamiarash7/Ansible-Install-MetalLb.git install_metallb
-
Or you can install using galaxy:
ansible-galaxy install hatamiarash7.install_metallb
Then, Include role in Playbook:
- hosts: all
roles:
- hatamiarash7.install_metallb
You should have an IP pool for MetalLb. There are two variable here to handle this:
ip_pool_first
ip_pool_last
Note: You can use the same IP for both of them, if you have a single IP for your cluster.
Don't be shy to be a contributor 😉
- Fork it !
- Create your feature branch :
git checkout -b my-new-feature
- Commit your changes :
git commit -am 'Add some feature'
- Push to the branch :
git push origin my-new-feature
- Submit a pull request
Each project may have many problems. Contributing to the better development of this project by reporting them.