---
title: "Breaking down OpenAI's outage: How to avoid a hidden DNS dependency in Kubernetes"
description: "CoreDNS doesn't need the Kubernetes API server to answer queries, but it does need it to initialize."
url: "https://swe.quest/articles/breaking-down-openai-s-outage-how-to-avoid-a-hidden-dns-dependency-in-kubernetes-4aeac94c226460a9"
canonical: "https://render.com/blog/a-hidden-dns-dependency-in-kubernetes"
source: "Render"
published: "2024-12-17"
difficulty: "medium"
kind: "Incident"
reading_minutes: 6
tags: ["kubernetes","dns","incident-response","resilience","sre"]
---

# Breaking down OpenAI's outage: How to avoid a hidden DNS dependency in Kubernetes

A post on [Render](https://swe.quest/sources/render.md), published 2024-12-17, 6 min read, Incident. Original: [https://render.com/blog/a-hidden-dns-dependency-in-kubernetes](https://render.com/blog/a-hidden-dns-dependency-in-kubernetes)

## Summary

CoreDNS doesn't need the Kubernetes API server to answer queries, but it does need it to initialize. So when CoreDNS runs on control plane nodes (the kubeadm default), a control plane overload or node restart can take DNS down and break running services, as likely happened in OpenAI's outage. Render hit the same failure in 2022 after an etcd memory spike. It fixed the problem by changing tolerations so CoreDNS schedules only onto tainted worker nodes, and by moving etcd to dedicated nodes. The post also explains why telemetry daemonsets overload API servers: per-node list-pods calls bypass the cache and do consistent etcd reads. Setting resourceVersion="0" and monitoring for expensive list requests are the recommended mitigations.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Kubernetes](https://swe.quest/tags/kubernetes.md) (Infrastructure)
- [DNS](https://swe.quest/tags/dns.md) (Infrastructure)
- [Incidents & postmortems](https://swe.quest/tags/incident-response.md) (Reliability & operations)
- [Resilience](https://swe.quest/tags/resilience.md) (Distributed systems)
- [SRE](https://swe.quest/tags/sre.md) (Reliability & operations)

## Prerequisites

- Kubernetes control plane and data plane ([easy posts on Kubernetes](https://swe.quest/tags/kubernetes.md?difficulty=easy))
- Kubernetes taints and tolerations ([easy posts on Kubernetes](https://swe.quest/tags/kubernetes.md?difficulty=easy))
- DNS basics ([easy posts on DNS](https://swe.quest/tags/dns.md?difficulty=easy))

## Keywords

Kubernetes, CoreDNS, etcd, kubeadm, OpenAI, Render, DaemonSet

## Related posts

- [May 30 incident update](https://swe.quest/articles/may-30-incident-update-3783b8eb72e49183.md): Deno · 2022-06-02 · Easy · 2 min read · Incidents & postmortems, Consensus, Capacity planning, Linux
  A 70-minute Deno Deploy outage on May 30, 2022 was caused by the etcd service discovery cluster running out of memory after a network-wide load test: scale-up and scale-down generated a burst of updates, etcd daemons exceeded VM RAM, the Linux OOM killer terminated several at once, and quorum was lost.
- [2023-03-08 incident: A deep dive into the platform-level recovery](https://swe.quest/articles/2023-03-08-incident-a-deep-dive-into-the-platform-level-recovery-ad2b07fa89f3cad4.md): Datadog Engineering · 2023-06-16 · Hard · 21 min read · Incidents & postmortems, Kubernetes, Cloud platforms, Capacity planning, Networking
  Recovering from Datadog's March 8, 2023 multi-region outage, triggered by a systemd-networkd patch on Ubuntu 22.04 that cut network connectivity for nodes running Cilium, required restoring Kubernetes clusters in a strict order: parent control planes, then child control planes hosted on parent nodes, then application nodes.
- [2022-07-18 incident update](https://swe.quest/articles/2022-07-18-incident-update-8b65cdaf199f852d.md): Deno · 2022-07-18 · Easy · 2 min read · Incidents & postmortems, Distributed systems, Load balancing
  A 65-minute outage on July 18, 2022 took down all Deno Deploy services, including subhosting, deno.com and deno.land module downloads.
- [Improving DNS performance with NodeLocalDNS](https://swe.quest/articles/improving-dns-performance-with-nodelocaldns-01d6f54219a60f0f.md): Neon · 2025-12-01 · Medium · 6 min read · DNS, Kubernetes, Performance engineering, Caching, Networking
  Neon deployed node-local-dns as a DaemonSet across its EKS clusters running hundreds of thousands of ephemeral Postgres pods, moving the 95%+ cache-hit DNS traffic off the network and onto each node.
- [It’s always DNS . . . except when it’s not: A deep dive through gRPC, Kubernetes, and AWS networking](https://swe.quest/articles/it-s-always-dns-except-when-it-s-not-a-deep-dive-through-grpc-kubernetes-and-44627d906e7c0646.md): Datadog Engineering · 2022-04-13 · Hard · 18 min read · Networking, Kubernetes, DNS, Linux, Incidents & postmortems
  Errors during rollouts of Datadog's metrics query service looked like DNS failures, but the root cause was VPC connection tracking saturation on AWS ENIs.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
