claudie icon indicating copy to clipboard operation
claudie copied to clipboard

Claudie reconciliation loop

Open MarioUhrik opened this issue 3 years ago • 1 comments

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

MarioUhrik avatar Apr 11 '22 10:04 MarioUhrik

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.

Danielss89 avatar Jan 08 '24 10:01 Danielss89