Skip to content

CLI reference

clusdr is one binary: daemon and operator commands.

Global flags

FlagDefaultMeaning
--configclusdr.yamlConfig file path
--log-level(from config)debug | info | warn | error
--log-format(from config)text | json

--log-level and --log-format override env and YAML for that invocation.

Commands that talk to a running node dial the Runtime API (grpc.addr). Only status looks at the Unix control socket.

Commands

CommandPage
clusdr versionversion
clusdr initinit
clusdr startstart
clusdr statusstatus
clusdr config validateconfig
clusdr joinjoin
clusdr promotepromote
clusdr membersmembers
clusdr leaderleader
clusdr watchwatch
clusdr publishpublish
clusdr lockslocks
clusdr leasesleases
clusdr certs showcerts
clusdr-benchbench (separate binary)

Documentation is sourced from the clusdr/docs tree.