Skip to content

Commit ffcfd00

Browse files
committed
docs(changelog): document new env variables to configure clustering
Add a section in the CHANGELOG.md file documenting the new environment variables introduced to configure clustering between Astarte services. Signed-off-by: Davide Briani <davide.briani@secomind.com>
1 parent 23449eb commit ffcfd00

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

77
## [1.2.1] - Unreleased
8+
### Added
9+
- New environment variables to control how clustering work, needed on AppEngine and DUP.
10+
- `CLUSTERING_STRATEGY`. Its possible values are:
11+
- `none` (default): the service will not look for other nodes/services.
12+
- `docker-compose`: this is meant to work in our docker-compose environment and no additional configuration is needed.
13+
- `kubernetes`: other nodes/services are found thanks to kubernetes DNS, and the other variables below are relevant.
14+
- `CLUSTERING_KUBERNETES_NAMESPACE`. It states under which namespace the Astarte instance has been deployed. Defaults to `astarte`.
15+
- `DATA_UPDATER_PLANT_CLUSTERING_KUBERNETES_SELECTOR`. The Endpoint label to query to get other data updater plant instances. Defaults to `app=astarte-data-updater-plant`.
16+
- `VERNEMQ_CLUSTERING_KUBERNETES_SELECTOR`. The Pod label to use to query Kubernetes to find VerneMQ instances. Defaults to `app=astarte-vernemq`.
17+
- `VERNEMQ_CLUSTERING_KUBERNETES_SERVICE_NAME`. The Service name to use to query Kubernetes to find VerneMQ instances. Defaults to `astarte-vernemq`.
818
### Changed
919
- Rework RPC between AppEngine and DUP using Erlang's native clustering and
1020
message-passing instead of AMQP queues:

0 commit comments

Comments
 (0)