# libcluster v3.5.1 - Table of Contents

>   Automatic Erlang cluster formation and management for Elixir/Erlang
  applications

## Pages

- [Changelog](changelog.md)
- [libcluster](readme.md)

## Modules

- [Cluster.Strategy](Cluster.Strategy.md): This module defines the behaviour for implementing clustering strategies.

- [Cluster.Strategy.DNSPoll](Cluster.Strategy.DNSPoll.md): Assumes you have nodes that respond to the specified DNS query (A record), and which follow the node name pattern of
`<name>@<ip-address>`. If your setup matches those assumptions, this strategy will periodically poll DNS and connect
all nodes it finds.
- [Cluster.Strategy.Epmd](Cluster.Strategy.Epmd.md): This clustering strategy relies on Erlang's built-in distribution protocol.
- [Cluster.Strategy.ErlangHosts](Cluster.Strategy.ErlangHosts.md): This clustering strategy relies on Erlang's built-in distribution protocol by
using a `.hosts.erlang` file (as used by the `:net_adm` module).
- [Cluster.Strategy.Gossip](Cluster.Strategy.Gossip.md): This clustering strategy uses multicast UDP to gossip node names
to other nodes on the network. These packets are listened for on
each node as well, and a connection will be established between the
two nodes if they are reachable on the network, and share the same
magic cookie. In this way, a cluster of nodes may be formed dynamically.
- [Cluster.Strategy.Kubernetes](Cluster.Strategy.Kubernetes.md): This clustering strategy works by fetching information of endpoints or pods, which are filtered by
given Kubernetes namespace and label.
- [Cluster.Strategy.Kubernetes.DNS](Cluster.Strategy.Kubernetes.DNS.md): This clustering strategy works by fetching IP addresses with the help of a headless service in
current Kubernetes namespace.
- [Cluster.Strategy.Kubernetes.DNSSRV](Cluster.Strategy.Kubernetes.DNSSRV.md): This clustering strategy works by issuing a SRV query for the headless service where the StatefulSet
containing your nodes is running.
- [Cluster.Strategy.LocalEpmd](Cluster.Strategy.LocalEpmd.md): This clustering strategy relies on Erlang's built-in distribution protocol.
- [Cluster.Strategy.Rancher](Cluster.Strategy.Rancher.md): This clustering strategy is specific to the Rancher container platform.
It works by querying the platform's metadata API for containers belonging to
the same service as the node and attempts to connect them.
(see: http://rancher.com/docs/rancher/latest/en/rancher-services/metadata-service/)
- [Cluster.Strategy.State](Cluster.Strategy.State.md): The state of one strategy.

- [Cluster.Supervisor](Cluster.Supervisor.md): This module handles supervising the configured topologies, and is designed
to support being started within your own supervision tree, as shown below

