Free forever, no credit card.Get Started for Free →
← All posts
November 29, 2026 · 6 min read

Does Flux Remember Between Runs? Git Is Its Memory. The Next Reconciliation Starts Without the Last One's Conclusions.

Does Flux Remember Between Runs? Git Is Its Memory. The Next Reconciliation Starts Without the Last One's Conclusions. Flux remembers more continuously than almost any automation platform, because remembering is its whole job. A set of Kubernetes controllers pulls the desired state from Git and reconciles the cluster toward it, again and again, on an interval. If the cluster drifts, the next loop corrects it. If a manifest disappears from Git, the corresponding resource is pruned. That memory

Does Flux Remember Between Runs? Git Is Its Memory. The Next Reconciliation Starts Without the Last One's Conclusions.

Flux remembers more continuously than almost any automation platform, because remembering is its whole job. A set of Kubernetes controllers pulls the desired state from Git and reconciles the cluster toward it, again and again, on an interval. If the cluster drifts, the next loop corrects it. If a manifest disappears from Git, the corresponding resource is pruned.

That memory is specific, though. Flux remembers what the cluster should look like. It does not remember what the last reconciliation concluded, or what an AI agent inside that loop figured out an hour ago. The next loop starts from Git, the live cluster, and the status on its own objects, and nothing else.

A loop, not a run that ends

Flux is not one program but a toolkit of controllers, each watching its own kind of object. The source-controller fetches from Git repositories, OCI registries, Helm repositories, and buckets. The kustomize-controller builds and applies manifests. The helm-controller installs, upgrades, and rolls back Helm releases. The notification-controller sends alerts and receives webhooks, and the image controllers watch registries for new tags and can write an updated tag back into Git.

Each object carries a spec.interval, and that interval drives its reconciliation loop. There is no central scheduler and no run that finishes for good. The pattern is observe, compare, act, report: fetch the source, compare desired with live state, apply the difference, record the outcome. A manual change in the cluster is simply drift, and the next loop reverts it.

So the real question is not whether Flux remembers between runs like a cron job might. It is what kind of state survives from one reconciliation to the next.

Three places Flux keeps state, and what each one holds

The first place is Git itself. Git is the source of truth and the audit trail: every change arrives as a commit that can be reviewed and reverted. When the image-automation-controller detects a new image tag, it closes its loop by committing that tag back to Git, so the new state becomes part of the declared state. Git remembers intentions, in the form humans and controllers agreed to store them.

The second place is the Kubernetes API. Flux keeps no database of its own. Persistent reconciliation state lives in the status subresource of each Flux object: the artifact revision a GitRepository last resolved, in a form such as main@sha1: followed by the commit, the conditions reporting whether the last reconciliation succeeded, the inventory of resources a Kustomization applied, and a history of recent reconciliations. The inventory is what makes pruning possible: Flux can delete what it applied before because it recorded applying it.

The third place is deliberately temporary. The source-controller packages fetched content into a compressed artifact in its local storage, served to other controllers over HTTP. That storage is lost when the pod restarts, and nothing important goes with it: the artifact is rebuilt on the next reconcile. The cache remembers for convenience, not continuity.

Across all three, the pattern is clear. Git holds declared state. Status holds applied state. The artifact cache holds fetched state. None holds conclusions.

What a reconciliation actually does with that state

When the source-controller reconciles a GitRepository, it resolves the latest revision, packages the contents as an artifact, and updates the object's status. Dependent controllers wake when that status changes, or when their own interval elapses, which is how drift gets caught even when Git has not changed.

The kustomize-controller then downloads the artifact, runs the build, compares it against the live cluster with a server-side apply dry-run, and applies any difference. Health checks follow when configured. If pruning is enabled, resources in the inventory but no longer in the build are deleted.

Every step is recomputed from declared and live state. That is the strength of the design: a reconciliation never needs to trust notes from the previous one. It is also the boundary: reasoning never written into Git or a status field does not exist for the next loop.

Where an AI agent inside the loop goes blank

Put an AI step somewhere in this system: an agent that reviews a failing health check, judges whether a new image looks safe to promote, or explains a drift event before the next reconciliation reverts it. Flux gives that agent excellent raw material on every loop: the new revision, the diff, the conditions, the health results.

What it does not give the agent is its own previous judgment. Last night the agent may have decided that a particular readiness failure was a known slow-start pattern in one service, harmless in the morning and serious only when it followed a config change. Tonight the same pattern appears. Git holds the manifests, status holds the conditions, and neither holds that distinction. The agent re-derives it from scratch, or misses the context that made the earlier call correct.

That gap is not a flaw in Flux. Reconciliation is supposed to be stateless reasoning over declared state. Agent judgment is a different layer, and it needs a memory of its own.

Give the agent a memory that outlives the loop

The clean fix leaves Flux exactly as it is and adds the missing layer beside it: a shared memory the agent reads at the start of its work and writes to at the end, independent of any cluster, repository, or controller.

That is the role of Vilix AI. Vilix AI is a cloud-hosted memory layer for AI tools and agents, reachable over MCP, with no infrastructure to host or run. The same memory can be read by an agent working in a Flux pipeline, by a workflow in another automation platform, and by an interactive session in a coding tool, because it lives outside all of them.

Two properties matter here. First, Vilix AI stores full conversation history, not just extracted facts, so the reasoning behind a judgment and the condition that changed it stay retrievable. Second, the memory is shared across tools and runs by default, so a conclusion written during a nighttime drift investigation is available on the next reconciliation, without re-briefing.

Starting is light: a free plan that stays free forever, a 7-day Pro trial with no credit card required, and memory that can be exported or deleted at any time. The pattern is simple: check Vilix AI for the service, revision, and failure pattern before judging, then write back the conclusion and why. Flux keeps remembering the cluster. The agent finally remembers its own work.

The short answer

Does Flux remember between runs? Between reconciliations, yes, in the ways that matter for GitOps: Git holds the desired state, object status holds revisions, conditions, inventory, and history, and the loop uses all of it to correct drift continuously. What it never holds is an agent's conclusions. Close that gap with a shared memory like Vilix AI, and the loop stays declarative while the agent stops starting over.

Get Started for Free

Persistent memory across ChatGPT, Claude, and the AI tools you already use in Vilix AI.

Get Started for Free

Free forever, no credit card.

Keep reading
Does Azkaban Remember Between Runs? The History Is Kept. The Reasoning Is Not.

Does Azkaban Remember Between Runs? The History Is Kept. The Reasoning Is Not. Azkaban remembers that a flow ran, when it ran, whether it succeeded, and what it printed to its logs. It does not remember what the work inside the flow learned. Each new execution starts from the project files, the schedule, and whatever parameters are handed in at launch. If a step inside that flow is an AI agent, the agent wakes up with a job definition and no past: none of the findings, decisions, or open questi

Does Apache Ignite Remember Between Runs? The Grid Holds Data. The Agent Starts Empty.

Does Apache Ignite Remember Between Runs? The Grid Holds Data. The Agent Starts Empty. Apache Ignite remembers the data placed in its caches, and with one optional setting it remembers that data across a full cluster restart. Without that setting it remembers nothing once the cluster stops. Either way, what Ignite holds is current data under keys and in tables. It does not hold a run: what a scheduled AI agent checked, concluded, or promised to do next. An automation that wakes tomorrow can que

Does Hazelcast Remember Between Runs? The Map Holds Values. The Agent Starts Empty.

Does Hazelcast Remember Between Runs? The Map Holds Values. The Agent Starts Empty. Hazelcast remembers exactly what its data structures were told to hold, for exactly as long as the cluster, a backup, or an optional persistence layer keeps them alive. An IMap entry put by one process can be read by another process seconds or days later, as long as the cluster stays up or the entry was written through to an external store. What Hazelcast never holds is a run. It stores current values under keys