replication-manager
replication-manager copied to clipboard
Orchestrator Interface
That task should offer an interface for tasks like provision, unprovision, start stop for a service or for the entire cluster rolling operations could stay or be merged into the interface
We should be able to configure different orchestrators in config sections
[orchestrators] [infra1] type = onpremise | local | opensvc | slapos | k8s param1 param2 [infra2]
Than for clusters section one can define it like [clusters] [default] orchestrator= "infra1" [cluster1] orchestrator="infra2" db-servers-hosts ="db1,db2" [databases] [db1] orchestrator="infra1"
The first complexity is to enable compatibility with existing config files where different sections is for each cluster with a special meaning for [default] and also special meaning if no section at all