Patroni runbooks and tooling => 20%
During production#1054 (closed), it was apparent some of our Patroni runbooks lacked details, didn't work, or were out of date. For instance, creating a new replica ran into a bunch of issues, and there were questions about the validity of the Chef/Terraform state: disk sizing, Patroni startup, etc.
Also, this still requires deep knowledge of flags, and such. We should think about abstracting some of these operations in a tool that hides this complexity. I want to be able to type something like 'foo create replica --production' or 'foo disable replica --production ', where foo is likely gittab-ctl patroni
.
The way we do this today is too risky, as we craft commands on the fly and execute them on hosts in production.