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

deployment源代码分析有误

Open yipeng1030 opened this issue 9 months ago • 0 comments

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

yipeng1030 avatar May 07 '24 10:05 yipeng1030