claudie
claudie copied to clipboard
Claudie reconciliation loop
Motivation:
Claudie should perform full reconciliation loops & health checking of the entire infrastructure as dictated by the inputManifest. E.g. something like:
while (true)
unhealthy_infra = check_health_of_created_infrastructure() # e.g. health check detecting an unhealthy node
desired_state = run_scheduler(unhealthy_infra) # e.g. generate a plan suggesting a replacement of the unhealthy node
builder_apply(desired_state) # e.g. apply the desired state to carry out the replacement of the unhealthy node
sleep(1 min)
The health checking won't yet be a part of the MVP, but this general vision should be kept in mind.
Description:
Specific implementation details are TBD
I think this would be very good to get into Claudie ASAP, so that the state will not be needed to reset automatically in mongodb when an error happens.