Juju Charm - OpenStack loadbalancer
Go to file
Corey Bryant c0950a23a5 Add Kinetic and Zed support
* sync charm-helpers to classic charms
* change openstack-origin/source default to zed
* align testing with zed
* add new zed bundles
* add zed bundles to tests.yaml
* add zed tests to osci.yaml and .zuul.yaml
* update build-on and run-on bases
* add bindep.txt for py310
* sync tox.ini and requirements.txt for ruamel
* use charmcraft_channel 2.0/stable
* drop reactive plugin overrides
* move interface/layer env vars to charmcraft.yaml

Change-Id: I2cb698f719106e54b06009f24ea47259419e9cad
2022-09-26 19:18:19 +00:00
src Update for interface in seperate repo 2021-09-09 09:12:16 +00:00
templates Only do http health check when requested. 2022-02-04 12:55:16 +01:00
tests Add Kinetic and Zed support 2022-09-26 19:18:19 +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 Add Kinetic and Zed support 2022-09-26 19:18:19 +00:00
LICENSE First commit 2021-08-21 11:52:30 +00:00
README.md Update README 2021-09-30 11:24:59 +00:00
build-requirements.txt Migrate to charmhub 2022-02-22 11:43:20 -07:00
charmcraft.yaml Add Kinetic and Zed support 2022-09-26 19:18:19 +00:00
config.yaml Working cut 2021-09-07 10:00:52 +00:00
copyright Add copyright file 2021-09-30 11:10:02 +00:00
metadata.yaml Add Kinetic and Zed support 2022-09-26 19:18:19 +00:00
osci.yaml Add Kinetic and Zed support 2022-09-26 19:18:19 +00:00
rename.sh Migrate to charmhub 2022-02-22 11:43:20 -07:00
requirements.txt Points deps at opendev 2021-09-30 09:04:59 +00:00
test-requirements.txt Add Kinetic and Zed support 2022-09-26 19:18:19 +00:00
tox.ini Add Kinetic and Zed support 2022-09-26 19:18:19 +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

This section covers common and/or important configuration options. See file config.yaml for the full list of options, along with their descriptions and default values. See the Juju documentation for details on configuring applications.

vips

Sets the VIPs to use on the openstack-loadbalancer units to provide fault tolerant access to a servce. The value should be a space seperated list of IPs.

Deployment

The charm has public, admin and internal space bindings. These are the spaces that the charm will create listeners on for ingress traffic. The charm vips option should be used to provice an IP on each one of these network spaces.

This charm needs to be related to the hacluster charm to manage vips and the haproxy service.

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 openstack-loadbalancer-hacluster
juju relate openstack-loadbalancer:ha openstack-loadbalancer-hacluster:ha

To provide a load balancer relate the charm to a service that supports the loadbalancer interface.

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

Documentation

The OpenStack Charms project maintains two documentation guides:

Bugs

Please report bugs on Launchpad.