Post

Proving Cold Pulls During Harbor Core Outages

Proving Cold Pulls During Harbor Core Outages

I extended the Harbor full-sync tooling to verify cold image pulls on specific workers even when the Core Deployment is unavailable or Argo sync is incomplete. The new --bootstrap-worker flag and resilient Application spec verification let operators prove a pull path before rollout without depending on a healthy control plane.

Bootstrap Worker Selection and Outage Tolerance

The harbor-full-sync.py script now accepts a --bootstrap-worker argument that targets any Ready, schedulable amd64 worker by name, bypassing the Deployment’s hostname selector. The verification reads the live Application spec and Core image directly from the Argo CD Application resource, tolerating missing status.sync.comparedTo or status.operationState.syncResult fields when the Application is Degraded or OutOfSync. This makes the cold-pull proof usable during a Core outage or an incomplete Argo reconciliation.

Test Coverage for Degraded States

The CI test harbor-full-sync-test.py adds subtests that simulate a Degraded Application health status, an OutOfSync sync status, and a worker node with an Unknown condition. The recover and bootstrap-pull verification paths now raise explicit failures (application_not_ready and bootstrap_worker_unverified) instead of crashing on missing fields, confirming the script behaves predictably when the control plane is unhealthy.

Operational Guidance Updates

The mirroring documentation and OCI operations guide now describe the exact Git revision, Harbor Application spec, and live Core Deployment image used in the proof. They emphasize verifying a direct ECR route on every eligible Core worker before rollout and using the bootstrap worker override when the current Deployment lacks a hostname selector. The next step is to run the updated cold-pull proof against the staging cluster during a planned Core maintenance window.

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