Skip to content

Commit

Permalink
fix: add libcluster now find all pods (#361)
Browse files Browse the repository at this point in the history
Signed-off-by: shiipou <shiishii@nocturlab.fr>
Co-authored-by: Thomas DA ROCHA <thomas.darocha@lenra.io>
  • Loading branch information
shiipou and taorepoara authored May 24, 2023
1 parent 9b2fabd commit 2931b8f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions config/releases.exs
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,12 @@ config :libcluster,
topologies: [
lenra: [
# The selected clustering strategy. Required.
strategy: Elixir.Cluster.Strategy.Kubernetes.DNS,
strategy: Elixir.Cluster.Strategy.Kubernetes,
# Configuration for the provided strategy. Optional.
config: [
service: System.fetch_env!("SERVICE_NAME"),
mode: :ip,
kubernetes_selector: System.fetch_env!("KUBERNETES_SELECTOR"),
kubernetes_namespace: System.fetch_env!("KUBERNETES_NAMESPACE"),
application_name: "lenra",
polling_interval: 10_000
]
Expand Down

0 comments on commit 2931b8f

Please sign in to comment.