48 of kubernetes practice: Service Controller and Endpoint Controller
1.Endpoints represents the access address of all Pod copies corresponding to a Service, and Endpoints Controller is the controller responsible for generating and maintaining all Endpoints objects. It is responsible for listening for changes in the Service and the corresponding Pod copy, and if it detects that the Service has been deleted, it deletes the Endpoints object with the same name as the Service. If a new Service is detected to be created or modified, the relevant Pod list is obtained based on the Service information, and then the Endpoints object corresponding to the Service is created or updated.
The Kube-proxy process on 2.Node acquires the Endpoints of each Service to achieve the load balancing function of Service.
3.Service Controller belongs to an interface controller between the Kubernetes cluster and the external cloud platform.