Commit 1995c24
committed
DUP: allow to customize Erlang clustering on k8s
Introduce two configuration options for the formation of DUP
clusters on k8s. They can be set via two env vars:
- `DATA_UPDATER_PLANT_CLUSTERING_KUBERNETES_SELECTOR`,
defaulting to `app=astarte-data-updater-plant`
- `DATA_UPDATER_PLANT_CLUSTERING_KUBERNETES_NAMESPACE`,
defaulting to `astarte`
Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>1 parent 2a39bc0 commit 1995c24
File tree
2 files changed
+21
-2
lines changed- apps/astarte_data_updater_plant/lib/astarte_data_updater_plant
2 files changed
+21
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
Lines changed: 18 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
248 | 264 | | |
249 | 265 | | |
250 | 266 | | |
| |||
449 | 465 | | |
450 | 466 | | |
451 | 467 | | |
452 | | - | |
453 | | - | |
| 468 | + | |
| 469 | + | |
454 | 470 | | |
455 | 471 | | |
456 | 472 | | |
| |||
0 commit comments