Post

Enabling Brief Reachability Tolerance for Backup Workers

Enabling Brief Reachability Tolerance for Backup Workers

This change lets backup workloads survive short worker reachability interruptions, improving reliability of scheduled media backups.

Implementation of Worker Reachability Tolerance

The commit adds tolerations for node.kubernetes.io/not-ready and node.kubernetes.io/unreachable with a 1800‑second window to the Job spec. BackoffLimit is set to 0 and the pod’s restartPolicy is Never, ensuring the workload does not restart prematurely when a brief node loss occurs. These settings match the fix(media): tolerate brief backup worker reachability loss commit subject.

Test Updates Confirming Desired Behavior

The scripts/ci/media-backup-test.py file now asserts the expected configuration: backoffLimit equals 0, failedJobsHistoryLimit equals 5, restartPolicy is Never, and the tolerations list includes the not-ready and unreachable entries with 1800‑second tolerationSeconds. Additionally, the podFailurePolicy rules verify that a Job failure occurs on pod disruption or non‑zero exit codes.

Operational Documentation for Failure Diagnosis

New sections in docs/media-cloud-backup.md and openwiki/architecture/storage-and-state.md describe how to diagnose a failed scheduled backup. Operators are instructed to inspect the CronJob’s scheduled timestamp, examine the owned Job’s failure condition, and collect container termination reasons, exit codes, and relevant Events. The documentation notes that the workload tolerates short node reachability interruptions for up to 30 minutes before taint‑based eviction.

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