Less SELECT, More Buckets: Aditya’s LFX Term 3

Less SELECT, More Buckets: Aditya’s LFX Term 3

• By Aditya Pimpalkar Aditya Pimpalkar

When LFX Mentorship Term 3 kicked off in September, I already knew my way around an OpenEverest provider — provider-cloudnative-pg from earlier in the year. This term asked for something different: object storage. Same provider model, different beast. Masters, volume servers, filers, S3 gateways. Less SELECT, more “where did my bucket go.”

The project: Develop the Object Storage provider. Mentors: Diogo Recharte and Sergey Pronin. Destination: provider-seaweedfs, with me as the main maintainer.

Why SeaweedFS?

After MinIO closed its doors to the community, OpenEverest needed an S3-compatible option that folks could actually run next to their databases — especially on-prem and at the edge. SeaweedFS won the shortlist for practical reasons: a usable Kubernetes operator, and a complexity level that does not require a Ceph support group on speed dial.

The goal was to turn that into a first-class OpenEverest provider — same UI, CLI, and API surface users already use for databases.

Building provider-seaweedfs from empty repo to “it actually works”

September started the way these things usually start: a scaffold, a README that promises the future, and a hope that the first Instance would come up green.

It did — eventually.

September: wire the stack

The early PRs read like a checklist of “does this piece even exist yet?”

  • Scaffold the provider and land a standalone topology
  • Wire master, volume, and filer components one by one
  • Expose connection details so users are not guessing endpoints from pod logs
  • Add the S3 component essentials
  • Stand up CI and a release pipeline (because shipping without a pipeline is just vibes)

By the end of the month, a SeaweedFS Instance could go from YAML to a reachable S3 gateway. Not fancy. Not finished. But real.

October: make it feel like a product

October is when the provider stopped being a science experiment and started looking like something you might hand to a teammate.

We landed service exposure — ClusterIP, NodePort, LoadBalancer — because “it runs” is only half the story if nothing can talk to it. Storage class selection per component showed up in the UI. Replication policies got validations (the kind that save you from learning about replica counts the hard way). Hostname anti-affinity for master, volume, and filer followed, so Kubernetes would stop cheerfully co-locating everything on the one node that is about to sneeze.

Security got attention too: inter-component mTLS, S3 ingress, and default HTTPS on the S3 gateway when TLS is enabled. That last bit needed love upstream — so we opened and merged https support for the S3 gateway in seaweedfs/seaweedfs-operator. Provider work has a funny way of turning into “wait, the operator does not do that yet.”

We also added an admin UI toggle (spec.admin), storage size expansion, e2e smoke tests against the S3 gateway, and a design proposal for backup/restore — because deploying storage without a backup story is how you earn interesting weekends.

Somewhere in there, SeaweedFS also landed on the OpenEverest Hub, so discovering the provider did not require a scavenger hunt through GitHub.

Releases rolled: v0.1.1, v0.1.2, v0.2.0. MVP stickers still apply. Progress does not.

November: backups, mirrors, and the restore rabbit hole

November went deep on data protection.

We landed on-demand backups, then scheduled backups with mirror, then dataMirror itself. Restore is in flight — the open PR is doing the careful, slightly paranoid work: filer emptiness probes, phase mapping, rejecting PITR for now, and making sure restore still works after backups get cleaned up. The glamorous stuff.

E2E cluster tests got fixed. The seaweedfs-operator dependency got bumped. Maintainer life: half features, half “why is CI red again.”

But wait — there’s more (the rest of the ecosystem)

LFX had a clear focus. The other tab… kept waving anyway.

CloudNativePG provider refused to gather dust

While SeaweedFS was the mentorship headline, provider-cloudnative-pg kept getting commits like it was still day one.

Across Term 3 we shipped scheduled backups, PITR, TimescaleDB extension support, better connection details (read / read-only services and sslmode), failed-status mapping, a pgBouncer pooler component, a read-only pooler, Barman plugin detection, restore/status fixes, example YAMLs, several point releases (v0.3.0 through v0.3.3), and more cleanup and tests than anyone puts on a résumé.

And then the repo itself leveled up. On November 16, the provider moved into the OpenEverest org as an official provider — and I stayed on as maintainer. Not a bad side quest for a mentorship term that was supposedly about object storage.

Building one provider teaches you the SDK. Maintaining two at once teaches you where the SDK is lying to you.

Core platform scratches that turned into PRs

Providers are excellent bug magnets. When something feels wrong in SeaweedFS or CNPG, it is often an OpenEverest core gap wearing a provider costume.

That turned into real work in openeverest/openeverest:

  • A breaking (but needed) change for v2 time-based backup retention
  • UI for time-based retention on backup schedules
  • A new UI field type: quantity
  • Work on group-level form modes (hidden / disabled per FormMode)
  • Instance status messages on the database overview
  • A CLI --yaml output flag

Some of those are merged. Some are still open. All of them came from “we’re trying to ship a provider and the platform is missing a knob.”

The vibe check

Rough numbers for Sep–Nov, if you like scoreboards: on the order of ~30 PRs into provider-seaweedfs, ~17 into provider-cloudnative-pg, a handful into core OpenEverest, plus Hub updates and that upstream SeaweedFS operator PR. The exact count depends on when you refresh GitHub. The pattern does not: scaffold → wire → harden → backup → fix the thing underneath.

It has not all been glamorous. There were validation edge cases, flaky e2e runs, unit conversions that somehow still say m when they mean millicores, and the eternal Kubernetes question of “is it Pending or is it Pending?” Mentorship helps here — Diogo and Sergey have been the people to ping when the mental model and the CRD disagree.

What’s next

Term 3 wraps at the end of November, but the work does not. Restore for SeaweedFS is the big plate still on the table. Bucket/user/role management may stay with SeaweedFS for now, or grow into something more generic later — we’re still figuring out where that line should sit. The provider is still an MVP: schemas move, charts move, and nobody is pretending this is production-hardened yet.

What is true after three months: OpenEverest users can deploy S3-compatible storage next to their databases through the same Instance model. That gap was the whole point of the mentorship project. September’s empty repo is November’s working provider.

Come poke at it

If object storage on OpenEverest sounds fun (or if you just enjoy opening issues with excellent screenshots):

I’m not disappearing when the term ends — SeaweedFS by day, CloudNativePG by “also day,” and core platform fixes whenever a provider trips over a missing piece. LFX Term 3 is done. The PR list, somehow, is not.

To get involved with OpenEverest yourself:

Join Slack Star the Repo

See Also