Post

Media PostgreSQL backups now use the Service endpoint

Media PostgreSQL backups now use the Service endpoint

This push changes how I describe and check the media PostgreSQL backup path. The backup CronJob now connects through the media-postgres Service over authenticated TCP, while persistent storage remains limited to the QNAP claim. I also tightened the offline checks around that topology and updated the validation runbook to expect a completed scheduled backup with seven checksum successes.

Backup path through the Service

I changed the storage architecture notes to say the backup CronJob reaches media-postgres through its Service rather than relying on a fixed node placement. The job still writes persistent backup data to the QNAP claim, and the separate restore claim remains a staging target. This makes the backup path depend on the Service and its authentication material instead of a node-specific assumption.

Offline checks for volumes and egress

The offline checks now assert that the backup has exactly one persistent volume claim, no node selector, the authentication secret volume, and a memory-backed work volume. They also check the backup NetworkPolicy for PostgreSQL TCP egress and DNS egress, with the destination selectors tied to media-postgres and cluster DNS. These are static checks on the rendered manifests, not proof that a scheduled backup has already succeeded.

Validation runbook expectations

The runbook now calls for a completed scheduled backup with seven checksum successes and notes that the backup uses the Service endpoint while mounting only the QNAP claim for persistent storage. I would treat the next runtime check as the scheduled backup job completing and producing those checksum results, rather than treating the manifest checks alone as deployment verification.

This post is licensed under CC BY 4.0 by the author.