The Real Fullstack

The Configuration Drift

The incident was fixed at 22:10. At 09:00 it was back. Who undid the fix?

Ingeniero8 minLaboratorio de depuraciónReto de código
kubernetesargo-cdgithelm

Este reto aún no está traducido al Español. Estás leyendo la versión en inglés.

Misión:Name the real cause of the reverted fix and make Git the only way production changes — without losing the ability to hotfix quickly.Contexto · Objetivos de aprendizaje ▾

During an incident, an engineer patched the checkout deployment directly with kubectl. The next morning Argo CD synced production back to what Git says, and the payment timeouts returned. A diff shows 14 more manual changes nobody can explain.

Misión: Name the real cause of the reverted fix and make Git the only way production changes — without losing the ability to hotfix quickly.

Objetivos de aprendizaje

  • Understand configuration drift between Git and running systems.
  • Use GitOps reconciliation as a feature, not an obstacle.
  • Make every production change reviewable, auditable and revertible.
SimulaciónSimulado
Git repositoryArgo CDproduction cluster
Ejecutar simulación
# apps/checkout/production/values.yaml — the only place production config changesenv:  PAYMENT_TIMEOUT: 5s        # hotfix committed via PR #812 (reviewed, auditable, revertible)# Argo CD ApplicationsyncPolicy:  automated: { prune: true, selfHeal: true }   # manual cluster edits are reverted, not kept# RBAC: humans get read-only in production; changes go through Git

Simplificación

Three symptoms with deterministic fixes. Real setups add emergency procedures (break-glass access with audit). Modelo educativo: los números ilustran un comportamiento, no son benchmarks.

Conceptos

Retos relacionados

Referencias