I’m new to CockroachDB and wondering if there is any practice that can guide me to achieve my requirement.
I would like to build an application that is cluster enabled but first with one node and if the user would like to have scalability then he installs a new node then join the first node to form a cluster.
It looks like while init the CockroachDB node we need to assign other node’s addresses as well.
cockroach start --insecure --store=node2 --listen-addr=localhost:26258 --http-addr=localhost:8081 --join=localhost:26257,localhost:26258,localhost:26259 --background
Can anyone share your thought?