Running Immich on Kubernetes with the photos left on the NAS

The problem

The household’s photos live on the Synology NAS: about 77 GB and 17,000 files, browsed over file shares and replicated to an identical NAS across the country. That’s fine for storage and backup, but browsing photos through a file share is clunky. There’s no phone backup, no search by face or place, and no albums to share.

Immich does all of that. The problem is that most photo apps expect to import your library, reorganize it, and become where the photos live. I wasn’t willing to make a cluster on three small PCs the owner of the family’s photos.

The main constraint

The NAS stays the system of record. Immich only indexes the photos and gives the family a nicer way to browse them. Removing Immich, or losing the whole cluster, should never put an original photo at risk, and most of the decisions below come from that rule.

How it was built

I wrote a specification first, then a plan, then a task list, and only then deployed anything. The spec recorded each decision with its reason and the condition that would make me revisit it. Some of the decisions:

Testing it first

Before Immich existed, a throwaway pod mounted the shares and tried to write to the archive. The write was refused, as it should have been. I also took a checksum manifest of the archive before Immich ever saw it. After Immich finished indexing, I checked the archive against the manifest again, and every file was byte-for-byte identical.

Outcome

What went wrong later

Two weeks after launch, Immich took down a worker node. I had deployed it without memory limits, and a large background job pushed the node into a livelock. That incident, and what changed, is written up in Out of memory, but never killed. The photos were never at risk, since the originals were never stored in the cluster.

Takeaways for a prod environment