Juju Charm - OpenStack loadbalancer
Go to file
Liam Young 84d6e5d1cb Points deps at opendev
Change-Id: Ie46e52716391affa14040f2edd981696aee9d494
2021-09-30 09:04:59 +00:00
src Update for interface in seperate repo 2021-09-09 09:12:16 +00:00
templates Working cut 2021-09-07 10:00:52 +00:00
tests osci, zuul, gitreview and Pin charmcraft to 0.10.2 2021-09-20 16:04:25 +00:00
unit_tests Update for interface in seperate repo 2021-09-09 09:12:16 +00:00
.flake8 First commit 2021-08-21 11:52:30 +00:00
.gitignore Working cut 2021-09-07 10:00:52 +00:00
.gitreview osci, zuul, gitreview and Pin charmcraft to 0.10.2 2021-09-20 16:04:25 +00:00
.jujuignore First commit 2021-08-21 11:52:30 +00:00
.stestr.conf Working cut 2021-09-07 10:00:52 +00:00
.zuul.yaml osci, zuul, gitreview and Pin charmcraft to 0.10.2 2021-09-20 16:04:25 +00:00
LICENSE First commit 2021-08-21 11:52:30 +00:00
README.md Working cut 2021-09-07 10:00:52 +00:00
actions.yaml First commit 2021-08-21 11:52:30 +00:00
build-requirements.txt osci, zuul, gitreview and Pin charmcraft to 0.10.2 2021-09-20 16:04:25 +00:00
config.yaml Working cut 2021-09-07 10:00:52 +00:00
metadata.yaml osci, zuul, gitreview and Pin charmcraft to 0.10.2 2021-09-20 16:04:25 +00:00
osci.yaml osci, zuul, gitreview and Pin charmcraft to 0.10.2 2021-09-20 16:04:25 +00:00
requirements.txt Points deps at opendev 2021-09-30 09:04:59 +00:00
test-requirements.txt Working cut 2021-09-07 10:00:52 +00:00
tox.ini osci, zuul, gitreview and Pin charmcraft to 0.10.2 2021-09-20 16:04:25 +00:00

README.md

Overview

The openstack-loadbalancer charm deploys a loadbalancer that can load balance traffic over a number of units of a service. The charm supports using vips accross the loadbalancer units to provide HA.

Usage

Configuration

See file config.yaml for the full list of options, along with their descriptions and default values.

Deployment

Use the vip charm config option to specify the vips to be used by the loadbalancer, normally one vip per network space that the charm is bound to.

juju deploy -n 3 openstack-loadbalancer
juju config openstack-loadbalancer vip="10.0.0.100 10.10.0.100 10.20.0.100"
juju deploy hacluster
juju relate openstack-loadbalancer:ha hacluster:ha

Then relate the charm to a service that requires a loadbalancer

juju add-relation openstack-loadbalancer:loadbalancer ceph-dashboard:loadbalancer