Kubernetes v1.31 used less resource than previous versions.

Jbn1233
Aug 20, 2024

--

On official docs says

“5k Node Scalability Test Results: In recent scalability tests on 5,000 node clusters, enabling consistent reads from cache delivered impressive improvements:

30% reduction in kube-apiserver CPU usage
25% reduction in etcd CPU usage
Up to 3x reduction (from 5 seconds to 1.5 seconds) in 99th percentile pod LIST request latency”

Scenario:

I have 2 clusters v1.27 and v1.31 ( 1 master node and 1 worker node) ALL running on Ubuntu 24.04 LTS with 2 CPU and 2GB ram.

After deploy 1 Nginx deployment with 30 rep and keep it rollout restart every 1 min for 6o min.

Kubernetes v1.27
Kubernetes v1.31

Clearly see that kube-apiserver v1.31 and etcd process used less resource than v1.27 (not kube-scheduler and kube-controller)

This test may too small ,but it’s good to see the optimizing Kubernetes performances.

--

--

Jbn1233
Jbn1233

Written by Jbn1233

Very short and simple notes for CKA/SRE and may not works on your environment | jbn1233@gmail.com | Bangkok, Thailand |

No responses yet