In clustered mode, multiple nodes form a cluster. Actors are location-transparent: you send to a PID, and the framework
routes to the correct node. Discovery backends (Consul, etcd, Kubernetes, NATS, mDNS, static) tell the cluster how to
find peers.
Configure the actor system with WithCluster(clusterConfig) and a discovery provider. Configure remoting with
WithRemote(config). The cluster joins membership, and actors can be looked up via ActorOf across nodes. See Service Discovery for provider options.
When a node leaves, the leader relocates its actors and grains to remaining nodes. Singleton actors move to the leader;
others are distributed. Actors can opt out of relocation via spawn options. See Relocation for
the full flow, configuration, and relocatability requirements.