Comments (1)
这个问题我也问了一下,kubernetes 的联合创始人 Brendan Burns [email protected],下面是他的回复:
I'm not super familiar with that code since I wasn't involved in writting it, but my guess from looking at it is that it is an oversight.
In both cases it is possible that there will be an "update" where the resource version doesn't change, due to a re-list of the resources. Such an "update" is in fact a no-op and should be ignored. So I think it would be reasonable to add the same check to the updateDeployment code.
还是没回答我的问题,resync 是为了 reconcile 业务逻辑和内存缓存( 最近一次 relist 的结果 )的。就是说有对比 resource version 的 controller 是不需要这一步 reconcile 的,而没有对比 resource version 的是需要这一步 reconcile 的,难道说 Deployment 需要 reconcile 业务逻辑和内存缓存,而 ReplicaSet 不需要?
我的博客对这个有更详细的记录。
from sig-kubernetes.
Related Issues (20)
- 【提问】kube-proxy 在 IPVS 模式 获取来源IP问题;
- 【分享】关于 Phase、State、Conditions 的理解
- 分享如何调度器framework扩展 HOT 1
- 【活动】【每周研讨讲师招募】开场综述 HOT 1
- 【活动】【每周研讨讲师招募】启动过程前半部分代码导读(15m) HOT 2
- 【活动】11月7日研讨,scheduler参数介绍【书8.1】
- 【活动】11.7 研讨,命令行参数解析源码分享 【书8.3.2】
- 【活动】11.7 研讨,实例化scheduler过程 源码分享 【书8.3.3】
- Mjölnir-Bot test HOT 5
- 【分享】kubernetes 领域书籍推荐 HOT 8
- 【提问】kubevela跟Kubephere、Rancher、Openshift这些paas平台有啥区别 HOT 2
- 面试 云计算工程师的golang中级 HOT 1
- 【提问】老哥们,请问在哪里可以继续申请阅读或者购买Programming Kubernetes HOT 1
- 【提问】pv_controller中的resync协程是什么作用?为什么这么设计? HOT 2
- k8s源码分析学习 HOT 1
- 【提问】k8s indexinformer启动过程发送事件变更如何处理 HOT 10
- dockerfile的命令只执行了一半就结束了 HOT 3
- kubernetes源码研习社 HOT 1
- 【提问】pod拥有多个ownerreferences的示例 HOT 4
- 【分享】k8s源码学习大礼包 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sig-kubernetes.