puppetdb: unique per-pod command-queue directory #340

Merged
unkinben merged 1 commits from benvin/puppetdb-per-pod-queue into main 2026-08-08 20:04:18 +10:00

1 Commits

Author SHA1 Message Date
Ben Vincent 5bb5be15f3 puppetdb: give each pod a unique command-queue directory
ci/woodpecker/pr/vector-test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
PuppetDB runs as a Deployment (HPA min 2 / max 5) with its vardir
/opt/puppetlabs/server/data/puppetdb backed by a shared RWX cephfs PVC.
All replicas mount the same path, so they share the stockpile/ command
queue and corrupt each other's unprocessed commands.

Mount the shared PVC with subPathExpr: $(POD_NAME) so each pod gets its
own vardir (and thus its own stockpile queue) on the shared volume.

Claude-Session: https://claude.ai/code/session_01JUoARVdmhxKQHyyyp1pxeT
2026-08-08 19:57:39 +10:00