You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,16 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
7
7
## [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`.
8
18
### Changed
9
19
- Rework RPC between AppEngine and DUP using Erlang's native clustering and
0 commit comments