Grappling with Kubernetes Eventual Consistency in Korifi
summary
Korifi replaces Cloud Foundry’s SQL-backed state with Kubernetes CRDs, and writes to CF build CRD can return 201 while a subsequent read hits another kube API and gets 404 because of etcd eventual consistency and multiple cached API servers. The team implements practical mitigations: controllers populate status fields, the API sometimes delays responses until reconciliation, and clients rely on retries and idempotency. The resulting flow works most of the time but accepts occasional latency and the need for careful retry logic.
AI-written summary · about
