CLI reference
clusdr is one binary: daemon and operator commands.
Global flags
| Flag | Default | Meaning |
|---|---|---|
--config | clusdr.yaml | Config 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
| Command | Page |
|---|---|
clusdr version | version |
clusdr init | init |
clusdr start | start |
clusdr status | status |
clusdr config validate | config |
clusdr join | join |
clusdr promote | promote |
clusdr members | members |
clusdr leader | leader |
clusdr watch | watch |
clusdr publish | publish |
clusdr locks | locks |
clusdr leases | leases |
clusdr certs show | certs |
clusdr-bench | bench (separate binary) |