danniel1205 / tech-notes

Let's keep learning
https://danniel1205.github.io/tech-notes/
Apache License 2.0
9 stars 2 forks source link

Update list-watch note with kubelet #135

Open danniel1205 opened 6 months ago

danniel1205 commented 6 months ago

https://github.com/kubernetes/kubernetes/blob/ae185414f4e94e969399c40b23995af6f85fa37f/pkg/kubelet/config/apiserver.go#L58

Kubelet is actually using list-watch mechanism to get notified on changes. List and watch is implemented using HTTP Long Poll

danniel1205 commented 6 months ago

https://dzone.com/articles/understanding-the-kubelet-core-execution-frame