I am trying to implement something like etcd services using the consensus algorithm ( https://raft.imtqy.com/ ). In this case, multiple instances of etcd services should know about each other. To do this, if we have 3 instances of the etcd instance in the replication controller, the pods should be able to talk to each other (at least be able to know the IP address of themselves and all other modules).
Is there a way to achieve this in the replication controller or pod specs without using the kubernetes APIs in the container container?
source
share