Reliability and drift management
Drift is a difference, not automatically a fault
Configuration drift occurs when observed managed settings no longer match approved intent. Compare typed, normalized owned fields, and keep operational health separate. If the desired MTU is 1500 but the observed MTU is 1400, flag drift. If the observation is missing or stale, mark unknown and investigate. An authorized emergency change may be the correct temporary state; blindly reverting it can cause another outage. Classify drift with the owner, record evidence, then either update intent through review or schedule an approved correction.
Choose a bounded canary
A canary is a small initial rollout evaluated against explicit health criteria before expanding. Our toy fleet has two redundant pairs: A1/A2 and B1/B2. Change A1 first while its peer A2 is healthy and has enough spare capacity; never schedule both members of a pair together in this exercise. Use a representative traffic period and a control baseline. The example uses at least 100 requests, at least five minutes of observation, at least 99 successful requests per 100, p95 latency at most 50 ms, an intact management path and a successful policy check. These thresholds are classroom assumptions, not general SLOs. Missing evidence means hold, not pass.
Evaluate before expanding
In the sample, 100 requests contain 99 successes, p95 is 42 ms and all required checks pass after five minutes. The toy gate permits review for the next batch. If successes drop to 97, stop expansion and assess recovery; if only 20 samples exist, hold for more evidence. Even a passing canary cannot cover every device model, traffic pattern or correlated failure. Recheck peer health and capacity before each batch. Require an approved window, an owner, communication, and a tested recovery route independent of the affected path. If these conditions are missing, do not start.
fleet: A1/A2, B1/B2canary: A1; peer: A2 healthy, spare capacity confirmedrequests=100 successes=99 minutes=5 p95_ms=42management=true policy=trueresult: eligible for next-batch reviewRecovery is verified, not assumed
A rollback plan specifies the exact previous revision, who can authorize it, how to recover if management is unavailable and what proves service restoration. If rollback is safe and approved, restore only the intended change and read back the managed fields; verify routing, return path, policy and service health again. If recovery is unsafe or its outcome is uncertain, halt and escalate rather than repeating writes. In the local exercise a dictionary snapshot models the owned configuration; restoring it does not restore counters, sessions or actual device state. Keep backups private, tested and revision-linked.
Learn from the incident
A runbook describes actions during an incident: identify impact, stop the rollout, preserve evidence, decide on recovery, verify service and communicate status. A postmortem follows recovery and records a factual timeline, impact, contributing conditions, detection gaps and corrective actions with owners and due dates. Avoid blaming the operator; ask how the workflow allowed the failure. For example, a missing guest-deny check should become a reviewed regression test. Practice on the toy fleet and explain which checks are local models and which require actual lab evidence.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Reliability and drift management Quiz
Reason about inventory authority, change verification and reliability gates.
Observed MTU is missing. Drift classification?
Which first canary is suitable for the toy fleet?
100 requests, 97 successes, otherwise healthy. What next?
Only 20 successful requests are observed. What next?
Rollback write returned success. What proves recovery?