Kubernetes & scaling

What changes when we add a storage node?

Ceph and Longhorn on CrownLabs, with a separate Ceph scaling test on AWS.

What did the fourth worker change?

When worker-4 joined CrownLabs, Ceph still had 3 OSDs and Longhorn showed zero disks on the new worker. Here’s what changed after we enabled storage.

Ceph RBD

Pool expansion

Before16 GiBRaw capacity · 3 OSDs
After22 GiBRaw capacity · 4 OSDs

Ceph redistributed existing data. The new OSD on worker-4 held 497 MiB.

Longhorn

Adding a replica

Before3 replicasHealthy · workers 1–3
After4 replicasHealthy · workers 1–4

Longhorn added a copy of the same 1 GiB volume on worker-4. The volume size stayed the same.

Inspect Ceph capacity and placement evidence
Ceph measurements in CrownLabs and in the separate AWS lab
MeasurementCrownLabs · Loop-backed disksAWS · Dedicated gp3 EBS disks
Raw capacity16 → 22 GiB150 → 200 GiB
RBD pool estimated available space4.5 → 6.1 GiB47 → 63 GiB
Data on the new OSD497 MiB345 MiB
Placement groups on the new OSD10024
Cluster placement groups after rebalancing121 active+clean33 active+clean

Raw capacity sums the OSD sizes. The pool’s MAX AVAIL estimates how much more user data the pool can store under its placement and replication rules.

Inspect Longhorn storage and replica placement
Storage on worker-4
0 → 1 configured Longhorn disk. The shared root filesystem had about 13 GiB free before setup.
Replicas before
worker-1, worker-2, worker-3
Replicas after
worker-1, worker-2, worker-3, worker-4
Volume health checks
Healthy before and after each fio trial
Volume attached to
worker-1 in both tests
Record your own scaling experiment

Start with the three-worker Ceph cluster. Keep the pool replication settings and RGW replica count fixed. Use the same units for raw capacity at every stage.

When will Ceph raw capacity first increase?

1. Capture the baseline

Record the cluster before the fourth worker joins. If testing object integrity, save the SHA-256 of an existing RGW object.