Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hatamiarash7/ansible-install-metallb
Install MetalLb using Ansible
https://github.com/hatamiarash7/ansible-install-metallb
ansible ansible-role k8s k8s-cluster kubernetes kubernetes-cluster load-balancer load-balancing metallb
Last synced: about 2 months ago
JSON representation
Install MetalLb using Ansible
- Host: GitHub
- URL: https://github.com/hatamiarash7/ansible-install-metallb
- Owner: hatamiarash7
- Created: 2022-05-13T05:45:47.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-27T02:45:16.000Z (5 months ago)
- Last Synced: 2024-10-28T06:47:32.434Z (4 months ago)
- Topics: ansible, ansible-role, k8s, k8s-cluster, kubernetes, kubernetes-cluster, load-balancer, load-balancing, metallb
- Language: Jinja
- Homepage:
- Size: 32.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Install MetalLb ( Ansible )
[![Molecule](https://github.com/hatamiarash7/Ansible-Install-MetalLb/actions/workflows/molecule.yml/badge.svg)](https://github.com/hatamiarash7/Ansible-Install-MetalLb/actions/workflows/molecule.yml)
You can use this role to install [MetalLb](https://metallb.universe.tf/). MetalLB is a load-balancer implementation for bare metal Kubernetes clusters, using standard routing protocols.
## How-to
First you need instal the role:
- Clone this role:
```bash
git clone [email protected]:hatamiarash7/Ansible-Install-MetalLb.git install_metallb
```- Or you can install using galaxy:
```bash
ansible-galaxy install hatamiarash7.install_metallb
```Then, Include role in Playbook:
```yml
- hosts: all
roles:
- hatamiarash7.install_metallb
```## Variables
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.
---
## Support
[![Donate with Bitcoin](https://en.cryptobadges.io/badge/micro/bc1qmmh6vt366yzjt3grjxjjqynrrxs3frun8gnxrz)](https://en.cryptobadges.io/donate/bc1qmmh6vt366yzjt3grjxjjqynrrxs3frun8gnxrz) [![Donate with Ethereum](https://en.cryptobadges.io/badge/micro/0x0831bD72Ea8904B38Be9D6185Da2f930d6078094)](https://en.cryptobadges.io/donate/0x0831bD72Ea8904B38Be9D6185Da2f930d6078094)
[![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/D1D1WGU9)
## Contributing
Don't be shy to be a contributor 😉
1. Fork it !
2. Create your feature branch : `git checkout -b my-new-feature`
3. Commit your changes : `git commit -am 'Add some feature'`
4. Push to the branch : `git push origin my-new-feature`
5. Submit a pull request## Issues
Each project may have many problems. Contributing to the better development of this project by reporting them.