akka {
actor {
provider = "cluster"
}
remote {
netty.tcp {
hostname = 192.168.0.1 # machine IP
port = 32551 # machine port
bind-hostname = 10.100.0.23 # container IP
bind-port = 2551 # container port
}
}
}
headless service and dns discovery
Statefulsets are scaled sequentially rather than in parallel. When I scale a Statefulset from one Akka node to five Akka nodes, rather than starting four more Akka nodes in parallel, it’ll start akka-1, wait for it to start successfully, then start akka-2, wait, start akka-3, … and repeat until it’s done. This is not ideal as it may take a while to start hundreds of Akka nodes.