source-code-reading-notes icon indicating copy to clipboard operation
source-code-reading-notes copied to clipboard

源码阅读笔记

Results 3 source-code-reading-notes issues
Sort by recently updated
recently updated
newest added

文章链接:https://blog.tianfeiyu.com/2022/06/30/kubernetes_descheduler/ 您提到LowNodeUtilization 和 HighNodeUtilization是按照request 比率进行分配的,这确实不符合实际生产想要的效果 但可以根据实际的场景进行扩展,将其改为基于节点真实的资源使用率,方便讲解下具体思路吗?

你好 博客中的图片不显示了 辛苦修复一下

感谢作者的源码分析,在学习过程中发现一处值得讨论的地方 你提到deployment在rollout 暂停状态下会执行完未完成的scale后不再响应scale,但这篇[blog](https://www.alibabacloud.com/blog/pause-resume-and-scale-kubernetes-deployments_595019) 中Scaling Paused Deployments一节的实验,在rollout paused状态下仍然可以scale in。 结合源代码分析,scale的常规入口确实在pause后不再执行,但pause直接进入了和scale相同的sync处理函数中,是否相当于pause后直接在sync函数中进行scale操作的调谐呢?