Hey @hengestone! Jumping in real quick as I think there’s a small misunderstanding.
We currently ignore the options on CREATE KEYSPACE and default to internal flags on yb-master for setting up the replication factor (https://docs.yugabyte.com/admin/yb-master/#config-flags, check
--replication_factor, which defaults to 3, hence what you’re noticing)
I also am not sure how you’re starting up the cluster though. Is it possible that you’re doing it manually using the respective yb-master/yb-tserver binaries?
The recommended route would be using the
bin/yb-ctl python script, which would take care of both setting up the needed number of master/tservers, as well as flowing through custom flags (such as
As per @karthik’s suggestion, try using
./bin/yb-ctl --replication_factor 1 create , then confirm that it’s up and running using
./bin/yb-ctl status and then you’re good to login and create your keyspaces/tables.
Hope that helps!