AWS Builder Center

Kubernetes failure stories on AWS

Kubernetes failure stories on AWS

 Kubernetes Failure Stories , compiled by Henning Jacobs ( source ), is the best single list of public Kubernetes postmortems: 59 stories, newest first, each tagged with what was involved and what it cost. Twenty-seven of them name AWS, EKS, an ELB, kube2iam or KIAM explicitly; two more ran on kops, usually but not necessarily on AWS.
This page sorts them by the component that failed, and asks one question of each class: with AWS-managed services only, does the failure go away, get smaller, or stay exactly where it was? The answer is roughly half each way. EKS removes the control-plane and credential stories almost entirely. It does nothing for the ones that live in your manifests — and those are the ones that keep recurring.
Story summaries below follow each story's tags in the compilation; three postmortems were re-read in full for this page (Zalando's DNS outage, MindTickle's EKS migration, and the compilation itself). Links are given only where the page answered with HTTP 200 on 2026-10-01; the rest are named and can be found through the compilation.

The scorecard

failure class
stories
with AWS-managed services
what stays yours
control plane and etcd
Nordstrom 2017, Monzo 2017 and 2018, Turnitin, SaleMove, Google, Oath/Yahoo, NRE Labs, a Fullstaq client, Datadog
removed — EKS runs, scales, backs up and upgrades etcd and the API servers behind a stable endpoint
the load your own clients put on the API server; webhooks and CRDs on the request path
pod IAM credentials
Zalando (two), Adevinta, Airbnb 2020, Datadog
removed — IRSA and EKS Pod Identity replace the kube2iam / KIAM node proxies
SDK credential caching
DNS
Zalando (two), Preply, MindTickle 2019, Toyota Connected, Adevinta, Datadog
smaller — CoreDNS is a managed add-on
its replica count and memory,  ndots , and clients that do not cache
CNI, conntrack, SNAT
MindTickle 2020 (EKS), Prezi (EKS), loveholidays, Xing, Reddit
changed — the VPC CNI gives pods VPC addresses, no overlay, no route reflectors
the CNI's SNAT setting, conntrack limits on nodes, and add-on upgrades
IP address exhaustion
loveholidays, Veracode
smaller — prefix delegation, secondary CIDRs, IPv6 clusters
sizing subnets for pods, not nodes
CPU limits and throttling
Buffer, Omio, Airbnb 2019, Zalando, Civis Analytics, Datadog
untouched
the manifest
memory, node pressure
Blue Matador, NU.nl, Saltside, Zalando, Universe, ThredUP
detected sooner — Container Insights, the node monitoring agent, node auto repair
requests, limits, and reserved resources
admission webhooks
Jetstack, Airbnb 2020
untouched, and one EKS-specific way to break them
 failurePolicy , scope, timeouts, and the port your security group allows
load balancers and shutdown
Ravelin, DevOps Hof, Saltside, Zalando
smaller — the AWS Load Balancer Controller in IP mode with readiness gates
 preStop , SIGTERM handling, deregistration delay
scheduling and disruption
Moonlight, Grafana Labs, Datadog, FREE NOW, Algolia
smaller — managed AMIs, Karpenter's interruption queue
spread, budgets, priorities
config and delivery
Skyscanner (two), Pusher, Spotify, Veracode
untouched in kind; guard rails available
what your pipeline is allowed to delete
security exposure
JW Player, Google SRE talk
detected — GuardDuty; internal load balancers by default
what you expose
observability
PrometheusKube, Zalando
survives the cluster — managed backends and alarms outside it
alerting on missing data
stateful data
Gravitational
removed if the database is RDS or Aurora
the decision to run it in the cluster at all

What EKS removes

Control plane and etcd. The oldest stories are about running Kubernetes, not using it: an etcd split at  Nordstrom , API servers reached through ELB addresses that changed underneath kubelets (Turnitin,  SaleMove ,  Zalando ), etcd on an  emptyDir  and expiring certificates at  Oath/Yahoo . On EKS none of that is yours. What remains is load you generate: Datadog's API server was OOM-killed by its own clients and audit logging, and a custom resource behind an authentication webhook took down  a Fullstaq client's control plane . EKS scales the API servers; it does not make an expensive webhook cheap.
Pod credentials. kube2iam and KIAM intercepted the instance metadata endpoint on every node and fetched role credentials on the pod's behalf. They were behind Zalando's  build-error postmortem , part of  Adevinta's 10× latency , and two Airbnb talks. IRSA and EKS Pod Identity remove the proxy: the pod's own SDK exchanges a projected token with STS directly. This repository already uses IRSA, and the EKS Pod Identity agent is installed as an add-on ( terraform/main.tf:52 ). The remaining trap is the SDK: a client that builds a new credential provider per request re-does the STS exchange every time.
Stateful data.  Gravitational  lost data running PostgreSQL streaming replication in Kubernetes. RDS and Aurora move replication, failover and backups to a service — and the RDS defaults then matter, as  demo to production  shows for this repository.

What EKS changes

The VPC CNI. Pods get real VPC addresses, so there is no overlay and no BGP route reflector — the component that failed in Reddit's 2023 Pi-Day outage, where, per Reddit's published account, Calico's route-reflector selection keyed on a node label that a Kubernetes upgrade removed. But the VPC CNI brings a setting of its own. At  MindTickle , connections from pods to services outside the cluster failed intermittently after moving to EKS; the fix was  AWS_VPC_K8S_CNI_EXTERNALSNAT=true . By default the CNI translates pod traffic leaving the VPC CIDR to the node's address; when that traffic actually goes through a NAT gateway, peering, a VPN or a Transit Gateway, the double translation is what breaks. Set it deliberately when pods talk to networks beyond the VPC. Prezi's 1–3 second connection delays on EKS were the same SNAT path meeting conntrack races.
Network policy no longer needs Calico either: the VPC CNI enforces it natively. That removes Reddit's specific failure, not the general one — the CNI is still an add-on with versions, and  most_recent = true  ( terraform/main.tf:51 ) upgrades it whenever Terraform runs.
IP exhaustion.  loveholidays  ran out of pod IP addresses on GKE and blocked autoscaling. The VPC CNI makes this an AWS-shaped problem: every pod consumes a VPC address. The answers are prefix delegation (more pods per ENI slot), a secondary CIDR from  100.64.0.0/10  for pods, or an IPv6 cluster. In this repository the constraint shows up first as 17 pods per  t3.medium , before the subnets run out.

What EKS does not touch

CPU limits. Six stories, one cause: a CPU limit enforced by CFS quota throttles a latency-sensitive process even when the node is idle —  Buffer , Omio,  Airbnb's p95s , Zalando, Civis Analytics, Datadog. No AWS service is involved. This repository's Deployment sets a memory limit and no CPU limit, with a comment saying why ( k8s/base/deployment.yaml ).
DNS load. Zalando's  total DNS outage  is the reference case, and every link in it is still possible on EKS: one slow downstream caused retries; the Node.js client cached no DNS; the default  ndots:5  turned each external lookup into ten queries; short-lived connections multiplied them; CoreDNS, limited to  100Mi , was OOM-killed, and "wasn't able to recover because of the constant high load". The managed CoreDNS add-on gives you a supported version, not capacity. What stays yours:
link in the chain
answer
 ndots:5 
 dnsConfig.options: [{name: ndots, value: "2"}]  on workloads that call external names, or fully qualified names with a trailing dot
clients that do not cache
a caching resolver in the runtime, or a node-local DNS cache
CoreDNS sized from yesterday
more replicas and memory headroom; the add-on's autoscaling configuration where available
conntrack races on UDP (Preply, MindTickle 2019)
the node-local cache, which also takes conntrack out of the path
Admission webhooks. A webhook with  failurePolicy: Fail  that cannot be reached blocks every matching API call — Jetstack's took down a GKE cluster's nodes and its upgrade. EKS adds one way to cause it: the API server reaches webhooks through the node security group, which the common Terraform module opens only on a few ports.  Istio on EKS  traces that for istiod's port 15017. Scope webhooks with a  namespaceSelector  that excludes  kube-system , set  timeoutSeconds  low, and alert on webhook latency.
Config and delivery. Skyscanner's 2021 global outage was "a couple of characters" in a template that made their GitOps tooling delete namespaces; Pusher's  config-change talk  and  Spotify's deleted clusters  are the same class. A managed GitOps controller does not change it — it executes the deletion faster. The guard rails are settings, not services:  allowEmpty: false  on automated sync, a  Prune=false  annotation on namespaces, AppProjects that cannot target cluster-scoped resources ( Argo CD on AWS ), and EKS cluster deletion protection ( deletionProtection  on the cluster), backed by an SCP denying  eks:DeleteCluster  outside a break-glass role.

The one this repository has today

 Ravelin  saw occasional 502s because a terminating pod stops serving before the load balancer stops sending to it. Endpoint removal, the controller's reaction and the load balancer's deregistration are asynchronous, and a process that exits on SIGTERM loses every request in that window.
 app/main.go:149  ends with  log.Fatal(srv.ListenAndServe()) : no signal handling, so the process exits the moment Kubernetes sends SIGTERM.  /readyz  ( main.go:138–141 ) always returns 200, so it never tells the ALB the pod is leaving. The manifests have no  preStop  hook, and the namespace does not enable the AWS Load Balancer Controller's pod readiness gate. With the ALB in IP mode, every rolling update can drop in-flight requests. The fix is three small changes:
change
where
effect
 lifecycle.preStop: {sleep: {seconds: 15}} 
 k8s/base/deployment.yaml 
the pod keeps serving while the ALB deregisters it
catch SIGTERM and call  srv.Shutdown(ctx)  with a timeout
 app/main.go 
in-flight requests finish
label the namespace  elbv2.k8s.aws/pod-readiness-gate-inject: enabled 
 k8s/base/namespace.yaml 
a new pod is not Ready until the ALB says its target is healthy, so a rollout cannot outrun the load balancer

Detection that survives the cluster

Two stories are about losing sight rather than service. PrometheusKube lost application logs to a log shipper; Zalando's DNS outage also took down "our internal monitoring for the cluster", because it needed DNS to push metrics and send alerts, so the on-call engineer was called by a person. The AWS-only answer is to put the evaluation outside the cluster: Amazon Managed Service for Prometheus with its managed collector, CloudWatch Container Insights, and alarms that set  TreatMissingData: breaching , so a cluster that stops reporting pages someone instead of going quiet.
JW Player's 2019 post — exposure by a monitoring dashboard on a public ELB that let a cryptominer in — is the security version. GuardDuty EKS Protection reads the audit log and, with runtime monitoring, flags mining; the AWS Load Balancer Controller creates internal NLBs unless a Service asks to be internet-facing.

What to take from 59 stories

  1. Move what a service can own — control plane, credentials, databases. On AWS that is EKS, Pod Identity or IRSA, and RDS; this repository already uses the first two.
  1. Treat the CNI as yours even when it is managed. Know the SNAT setting before the first peering connection, and size subnets for pods.
  1. Everything else is in the manifest, and the managed services do not read it: CPU limits, DNS client behaviour, webhook scope, what a pipeline may delete, and how a pod leaves a load balancer.
  1. Alert from outside, and alert on silence.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article