How to check Dgraph config file

What I want to do

How can we check the Dgraph config file?

What I did

I tried to get the config file on zero node but unable to get it.

please help me to get the Dgraph config file.

do you mean the default values?

dgraph zero --help ?

we have a running HA Dgraph cluster. I just wanted to check whether we can check the existing config file or not. which has all the details of replicas etc.

its showing all the flags. I want to open the existing dgraph config file. which usually has the detail of our cluster like no of replicas we set while creating cluster.

There’s no such file.

You can check /state of your Alpha or Zero. See https://dgraph.io/docs/deploy/dgraph-zero/#more-about-the-state-endpoint