The Ops Notebook

Redpanda on Two Clusters: What Got in the Way

Published November 5, 2026 · 9 min read

Rolling out a minimal Redpanda fleet with the Redpanda Operator to a cloud VM and a home NAS from one Argo CD. The cloud cluster came up on the first sync. The NAS got stuck on a registry mirror's allowlist, and a two-line pull request to someone else's repo unstuck it. Both now pass a produce/consume smoke test. Along the way: a chart setting that is silently ignored, telemetry that needs two switches to turn off, a disk guard that only works if it beats the kubelet, and a naming scheme that is cheap to read but expensive to change.

The goal was small on purpose: one Redpanda broker on each of two clusters, deployed by the Redpanda Operator, managed by one central Argo CD. One cluster is a 2-core cloud VM (public1 in earlier posts; in the Redpanda fleet it’s called phoenix). The other is a 4-core k3s on my NAS (qnap-dev). Every setting is the minimum: one broker, 400m CPU, 2 GiB of memory, 4 GiB of storage. These clusters exist to rehearse the operational work (staged upgrades, per-cluster version pins, retirement) without paying for a big fleet.

Both are up now and both pass a smoke test. phoenix came up on the first sync. qnap-dev got stuck for a reason that had nothing to do with Kubernetes. Both stories are below.

The layout

The repo follows a common fleet layout:

clusters.yaml              k8s clusters + the operator version each one runs
charts/
  management/              per k8s cluster: an operator app and a "clusters" app
  operator-26.2.5/         vendored operator chart, one directory per version
  clusters/values.yaml     clusters.<k8s>.<name>: every Redpanda cluster
  cluster/                 one Redpanda custom resource
scripts/argo-render.sh     expands every layer locally for PR diffs

A Redpanda cluster is one entry:

clusters:
  phoenix:
    logstream:
      scope: logstream
      redpanda:
        config:
          extraClusterConfiguration:
            storage_min_free_bytes:
              repr: "10737418240"

From that entry, the charts generate an Argo CD Application and a Redpanda custom resource, and the operator creates a StatefulSet. All three are named redpanda-cluster-phoenix-logstream.

Names you can read, and can’t cheaply change

I wanted one name everywhere: the Application, the custom resource, the StatefulSet, the Service, and the PVC (datadir-redpanda-cluster-phoenix-logstream-0). When something pages you, the name in the alert should be the name in Argo CD and the name in kubectl.

Two costs come with that:

phoenix: up on the first sync

Merging two pull requests produced this in the central Argo CD, and everything was Synced and Healthy within a few minutes:

The smoke test was a topic, three messages, and a consumer, first from inside the pod and then through the Service DNS name that other clients will use:

$ rpk topic create smoke-test -p 1 -r 1
$ printf 'hello-1\nhello-2\nhello-3\n' | rpk topic produce smoke-test
$ rpk topic consume smoke-test -n 3 -o start -f '%o %v\n' \
    -X brokers=<service>.redpanda.svc.cluster.local:9093
0 hello-1
1 hello-2
2 hello-3

Memory in use: about 430 MiB for the broker and 110 MiB for the operator.

Chart settings that don’t do what they say

A setting that is silently ignored. I set storage_min_free_bytes under config.cluster, which is the documented place for cluster properties. The rendered bootstrap config still showed the chart’s computed default of about 205 MiB. The chart (26.2.x) builds its bootstrap map with its own value first and then merges user values. In that merge the earlier value wins, so a user value for a key the chart already set never lands. The same happens to the tunable keys (log_segment_size_min/max, kafka_connection_rate_limit and others). Those work under config.tunable. storage_min_free_bytes only works under config.extraClusterConfiguration, which is merged last, and only in this form:

extraClusterConfiguration:
  storage_min_free_bytes:
    repr: "10737418240"   # a string; a number fails the chart's schema

Keys the chart doesn’t preset, such as retention_bytes, work fine under config.cluster. I checked each case by rendering the chart, not by trusting the values file comments.

Telemetry needs two switches. logging.usageStats.enabled: false removes the environment variables that the chart writes into the pod template. That one also matters for stability, because one of those variables is the Kubernetes version, so every k3s patch upgrade would otherwise restart the broker. It does not stop the broker’s own reporter. That is the cluster property enable_metrics_reporter: false. Only after setting both did rpk cluster config get enable_metrics_reporter return false.

The tuning init container is privileged. By default the chart adds an init container with privileged: true and SYS_RESOURCE to tune kernel parameters. The redpanda namespace enforces Pod Security baseline, so that pod would be rejected. On a lab box the fix is tuning.tune_aio_events: false.

A disk guard has to beat the kubelet

local-path PVCs aren’t size-limited: the “4 GiB” volume is a directory on the node’s root filesystem, which other services share. Two settings keep Redpanda from filling it:

The value differs per machine, so there’s no shared default anymore. Every cluster must set its own, and the chart fails to render if one is missing or under 1 GiB.

qnap-dev: stopped at the registry, not at Kubernetes

The central Argo CD reached qnap-dev through Teleport and synced. The operator’s CRD Job was scheduled. Then:

Failed to pull image "docker.io/redpandadata/redpanda-operator:v26.2.5":
... unexpected status from HEAD request to https://mirror.example.com/v2/redpandadata/redpanda-operator/manifests/v26.2.5?ns=docker.io: 403 Forbidden

The NAS can’t reach Docker Hub directly, so k3s sends every docker.io pull through a public mirror. That mirror serves only an allowlist, and the list (about 1,400 entries) includes redpandadata/console and redpandadata/kminion but not the broker or the operator. My config was correct. The images just weren’t allowed through.

The options I weighed:

While those were pending, qnap-dev sat in ImagePullBackOff and kept retrying, which was harmless. I also prepared a change that added three unrestricted proxies after the first one as fallbacks. They served the same digests as Docker Hub when I checked, but they would apply to every docker.io image with no integrity check, so I treated them as a last resort.

They were never applied. The allowlist pull request was merged about an hour after I opened it, before I had touched the NAS. I removed the fallback change again. On its next retry the stuck CRD Job pulled the operator image through the mirror. The operator came up, the broker followed, and the central Argo CD showed every qnap-dev Application Synced and Healthy. Nobody touched the cluster in between. The fix was one pull request to the mirror’s allowlist. Everything after that was retries, and everything the cluster needed was already declared in Git.

The checks afterwards:

Memory in use on the NAS: about 220 MiB for the broker and 90 MiB for the operator.

What I’m keeping from this

About the author

The Ops Notebook is written by an operations engineer running live Kubernetes data infrastructure (Redpanda, Elasticsearch). Every article is based on real incidents, real cost numbers, and real fixes — not rewritten documentation.