Kubernetes Drift Detection
10,000+ drifts/orphans reduced to zero in one month.
Problem
Naive comparisons between declared and live Kubernetes state produced false positives and noisy notifications.
Technical work
Engineered a drift pipeline using full resource identity and schema-aware comparison, with parse-failure isolation, orphan detection, and rate-limited alerts. Later added namespace-scoped orphan detection with test coverage and downstream Slack-error logging for missing notifications.
Impact
Reduced more than 10,000 production configuration drifts and orphaned resources to zero within one month, restoring production-to-repository parity across private-cloud and bare-metal infrastructure.
Stack
- Kubernetes
- Python
- GitLab CI
- YAML
- Slack APIs
- Testing