Open danniel1205 opened 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
https://dzone.com/articles/understanding-the-kubelet-core-execution-frame
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