Skip to content

Instantly share code, notes, and snippets.

@x-ji
Created December 12, 2019 19:39
Show Gist options
  • Save x-ji/5f511742446dd75df89a75549760e19d to your computer and use it in GitHub Desktop.
Save x-ji/5f511742446dd75df89a75549760e19d to your computer and use it in GitHub Desktop.
Markdium-Elixir process orchestration in Kubernetes with libcluster and swarm
### In config/config.exs
config :libcluster,
topologies: [
your_app: [
strategy: Cluster.Strategy.Gossip,
config: [
port: 45892,
if_addr: "0.0.0.0",
multicast_addr: "230.1.1.251",
multicast_ttl: 1
]
]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment