Controller Clustering configuration

Hey guys,

Been working with controller clustering lately and had some trouble getting the first node up and running. In the end it started working when the controller was first run with:

ziti controller run controller.yaml

cluster:
  dataDir: /path/to/data/dir

And that then changed to this after the first run.

raft:
   dataDir: /path/to/data/dir

I just wanted to ask which one of these is supposed to be the correct one? In Controller Cluster Configuration it has the first one, but here it has raft.

Also seems that the cluster completes the "bootstrap" and makes the migration to to the ./dataDir folder. raft doesn't seem to make the db migration.

Controller: v1.6.9

Hi @montwepa

Good question. raft has been replaced by cluster. You may have gotten some confusing information from looking at the release-next branch, which is no longer used. We now worked off of main, so you'd want to look at ziti/doc/ha/ctrl1.yml at main · openziti/ziti · GitHub instead.

Hope that helps,
Paul