StatefulSet Improvement Proposal for blockchain


This might be a recurring topic, I’d like to re-open the discussion on a service per pod.

At the moment StatefulSet is limited to one service that will direct traffic to pods.

Being in the blockchain space I had to do a bit of magic to solve the fact that RPC nodes need to be syncing with other network nodes while also offering RPC in a load-balanced manner for fault tolerance.

At the moment the solution I came up with is to use meta-controller and automate the creation of services for each pod in a stateful set.

But if you can read the following we can discuss further :slight_smile: