Table of Contents

Namespace Bielu.Microservices.Orchestrator.Storage

Classes

ImageUpdateService

Default IImageUpdateService implementation.

Strategy: each managed instance persists its OriginalRequest in IInstanceStore. The container is stamped at creation time with the image digest it was created from (label ImageDigest). We compare that recorded digest with the digest of the image currently available locally (optionally after pulling) and recreate the containers when they differ.

InMemoryInstanceStore

In-memory implementation of IInstanceStore. Suitable for testing and ephemeral workloads where persistence across restarts is not needed.

InstanceRecoveryService

Hosted service that runs on startup to reconcile the desired state in the IInstanceStore with the actual state of containers in the runtime.

StateTrackingContainerManagerDecorator

Decorator for IContainerManager that automatically persists desired state to an IInstanceStore on lifecycle operations. This keeps all provider implementations untouched.