I could spin up a CnosDB Cluster via this manual and add the meta node as follows:
curl http://127.0.0.1:21001/init -d '{}'
curl http://127.0.0.1:21001/add-learner -H "Content-Type: application/json" -d '[2, "127.0.0.1:21002"]'
curl http://127.0.0.1:21001/add-learner -H "Content-Type: application/json" -d '[3, "127.0.0.1:21003"]'
curl http://127.0.0.1:21001/change-membership -H "Content-Type: application/json" -d '[1, 2, 3]'
Is there a command line way to do this?
Besides, how could I add a data node once the cluster is up and running?