Skip to content

Commit f4b3ef3

Browse files
committed
docs: update kubernetes instructions
When deploying on kubernetes, it is possible to deploy multiple replicas of the backend service. To do so, a couple fo environment variables have been added to instruct edgehog on how to find and connect to other nodes. Signed-off-by: Luca Zaninotto <luca.zaninotto@secomind.com>
1 parent 021311f commit f4b3ef3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/lib/edgehog/config.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,13 @@ defmodule Edgehog.Config do
103103
type: ClusteringStrategy,
104104
default: :none
105105

106-
@envdoc "The endpoint label to query to get other edgehog instances. Defaults to `app=edgehog`."
106+
@envdoc "The endpoint label to query to get other edgehog instances. Defaults to `app=edgehog-backend`."
107107
app_env :edgehog_clustering_kubernetes_selector,
108108
:edgehog,
109109
:edgehog_clustering_kubernetes_selector,
110110
os_env: "EDGEHOG_CLUSTERING_KUBERNETES_SELECTOR",
111111
type: :binary,
112-
default: "app=edgehog"
112+
default: "app=edgehog-backend"
113113

114114
@envdoc "The Kubernetes namespace to use when `kubernetes` Erlang clustering strategy is used. Defaults to `edgehog`."
115115
app_env :clustering_kubernetes_namespace, :edgehog, :clustering_kubernetes_namespace,

0 commit comments

Comments
 (0)