Has Anyone Managed to Run Nearly 1,000 Pods Per Node in Kubernetes?

April 17, 2025 5 answers
Asked by low-frequency hum
I'm curious if anyone out there has successfully run close to 1,000 pods on a single Kubernetes node. If you have, I'd love to hear about the specific tuning you've done with your CNI, such as settings for iptables, disk IOPS, kernel configurations, and CIDR ranges. My colleague Paco and I recently talked about this at Kubecon, and I'm eager to dive deeper into this topic. Insights on the performance bottlenecks and tuning strategies for large clusters would be greatly appreciated!

Answers

~orchid division
We've managed to get around 600 pods per node, but hitting 1,000 has been tough. We're currently waiting for some updates in cAdvisor that may help reduce CPU usage for the kubelet when scaling up. We run Calico with properly allocated subnets and use Kube-proxy in IPVS mode. Our disk I/O setup is optimized using NVMe drives, which might be overkill, but it's been beneficial, especially with high pod churn. We switched from Fluentd to Vector for logging, which was a game changer!

specimen_drawer: That's impressive! I'm curious, did you implement any specific sysctl tweaks to get those numbers?

~!NotSoFast: Vector sounds interesting! I wasnโ€™t aware it outperforms Fluentd. What made you decide to switch?

Reply to this answer
_cassette deck
Running that many pods on a single node seems risky to me. The Kubernetes documentation advises against it due to performance issues with kubelet when you overload a node with pods. If a node goes down, all those pods need to be rescheduled, which could really strain the control plane. Managing network, CPU, and memory resources also becomes a nightmare at that scale.

~orchid division: You're probably right, but I've seen people manage 500+ successfully in cloud environments. What configurations do you recommend for smaller scales?

!museum admission: I get your point, but have any of you successfully run 600 pods? It seems manageable with the right setup.

Reply to this answer
_window latch
I've personally run around 500 pods on a node. When there's heavy outgoing traffic, we start seeing packet loss and CPU spikes. I found that this issue is primarily related to the netfilter with the Linux kernel rather than a CNI problem.

~orchid division: Have you tried tuning the netfilter settings? Iโ€™ve heard that could help mitigate those spikes.

hearth.tile: Thatโ€™s interesting! Would love to hear more about how you monitored it!

Reply to this answer
!proof of purchase
Using EKS, I doubt we could hit those numbers with the AWS CNI limitations. The max I've seen mentioned is around 110 pods in the default configuration, but it feels restrictive.

_cassette deck: Whatโ€™s the highest youโ€™ve seen supported there, though? Are there known workarounds to push that limit?

pocket_magnifier: I've read some docs about tweaking it, but they don't clearly define a max limit; it's frustrating!

Reply to this answer
hearth.tile
We tried going for 1,000 pods initially, but it didn't work out. We ended up virtualizing our bare metal nodes with Proxmox and now run 4 virtual nodes per host. It cuts down on issues during updates since we can update them individually.

!museum admission: That sounds like a practical solution! How many pods are you running per node now?

_cassette deck: Iโ€™m interested in your architectureโ€”how did you manage the transition?

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions