Running multiple Dgraph alpha pod and zeros in single host

Hi @MichelDiz, I know it might sound funny but looks like I am not able to make you understand what I am trying to do. I am not sure whether it’s a Dgraph documentation issue or not.

I hope after so many threads, you at least understood that I am trying to run the dgraph-ha.yaml dgraph/contrib/config/kubernetes/dgraph-ha/dgraph-ha.yaml at main · dgraph-io/dgraph · GitHub

I am running dgraph in minikube which is single k8s node kubernetes cluster with k8s replicaset : 3 for both zero and alpha statefulset mention below:
image

image

Till here everything is fine and hope we both are on the same page.

And as per your previous comments these 3 alpha k8s replica settings will create a single Alpha raft group and 3 zero k8s replica settings will create a single Zero raft group.

I am NOT EXECUTING any zero configs as mentioned below

Again I am not executing this command section in the dgraph-ha.yaml file means this is blank in my yaml file

and for alpha statefulset also I am NOT EXECUTING the following command section

Question:

  1. How alphas are getting config

No configs we are passing as configs are mentioned in the command section for both zero and alpha.
If alphas are not getting raft configs like --replica-settings from zero ideally they should create three single group but without running those zero configs also I have noticed they form a single group.

I hope it’s understandable now if not can we have a schedule call because it’s very urgent and we are stuck.

Thanks, waiting for your comments