5 ms·
I've read about actors from time to time for decades. I can't say I fully grok the concept. Kubelet wasn't necessarily designed as an actor. I think it's a con
by jfoutz 4y ago
I've read about actors from time to time for decades. I can't say I fully grok the concept.
Kubelet wasn't necessarily designed as an actor. I think it's a concrete thing that people have interacted with that is a pretty good example of an actor. It has it's own control loop. It sits there and actively monitors the state of the node. It constantly reports the state. If something's wrong, it can try to correct it.
Most services and objects just sort of sit around and wait to be called. Kubelet is a little different, it's got a main driving thread that's constantly looking for trouble, and acting on what it finds.
The line is still pretty fuzzy for me, but maybe this helps someone connect some conceptual dots, to distinguish between a service and an actor.