3.2. Running configuration
halon-rated loads the reloadable configuration from /etc/halon/rated-app.yaml
.
Below are some of the most important settings that can be configured.
Note
The example configuration in /opt/halon/share/examples/ that is usually copied to /etc/halon/ during installation contains reasonable defaults. Normally you only need to modify the secret key to use.
3.2.1. Peers directive
- peers[]
A list of peers in the cluster. This option can be a list of IPv4, IPv6 or hostnames. It can also be an object.
peers: - rated2.example.com
- peers[].address
The peer address
- peers[].expand
If all addresses (for that address) should be considered individual peers. This pattern in common in eg. Kubernetes. The default is
false
.