Kubernetes v1.37 Introduces etcd RangeStream to Reduce Memory Usage on Large Lists
24 similar posts
- Kubernetes
- etcd
AI Summary
Kubernetes v1.37 introduces the beta etcd RangeStream feature, combined with etcd v3.7, to significantly reduce and predict memory usage during large list and watch cache initializations by streaming responses in chunks rather than buffering entire pages.
Key Takeaways
- RangeStream moves to beta in Kubernetes v1.37 and requires etcd v3.7.
- The feature streams chunks dynamically to prevent holding entire collections in memory on both the API server and etcd.
- Includes automatic fallback mechanisms if etcd does not support the RangeStream RPC call.
Why it matters
Large Kubernetes clusters often suffer from Out-Of-Memory (OOM) errors during API server startup or cache re-initialization due to unbuffered large object lists from etcd. RangeStream mitigates this by streaming data adaptively by byte size, protecting infrastructure stability.
Conversation0
What would you add from your experience?
Checking your session…
Every good conversation starts with one perspective.