simple proxy charm #12

Supports: xenial bionic cosmic

Add to new model

Description

A charm for a simple proxy based on HAProxy and CRM tools


simple-proxy-charm

A charm for a simple proxy based on HAProxy and CRM tools


Configuration

backend_list
(string) List of backends on format: "1.2.3.4:80,blabla.com:443,test.com"
balancer_port
(string) List of ports to set the balancer. Values are taken sequentially.
ha-bindiface
(string) Default network interface on which HA cluster will bind to communication with the other members of the HA Cluster.
eth0
ha-mcastport
(int) Default multicast port number that will be used to communicate between HA Cluster nodes.
5434
mode
(string) Two operation modes: balancer, proxy balancer means haproxy is used as a haproxy (to be done yet...) proxy (default) is used to proxy ports: each new service maps to a proxy_port
proxy_port
(string) List of ports from which haproxys port is pulled. Ports are pulled sequentially Does not matter order, syntax: "100,200,300:400,500" means any port from 300 to 400 maybe chosen
35000:45000
vip
(string) Virtual IP(s) to use to front API services in HA configuration. . If multiple networks are being used, a VIP should be provided for each network, separated by spaces.
vip_cidr
(int) Default CIDR netmask to use for HA vip when it cannot be automatically
24
vip_iface
(string) Default network interface to use for HA vip when it cannot be automatically determined.
eth0