The Real Fullstack

The Configuration Drift

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

Engenheiro8 minLaboratório de depuraçãoDesafio de código
kubernetesargo-cdgithelm

Este desafio ainda não foi traduzido para Português (Brasil). Você está lendo a versão em inglês.

Missão: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 aprendizagem ▾

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.

Missão: 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 aprendizagem

  • 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.
SimulaçãoSimulado
Git repositoryArgo CDproduction cluster
Executar simulação
# 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

Simplificação

Three symptoms with deterministic fixes. Real setups add emergency procedures (break-glass access with audit). Modelo educacional — os números ilustram comportamento, não são benchmarks.

Conceitos

Desafios relacionados

Referências