Normally when i create a service with a label selector,then automatically kubernetes will create an endpoint object.right?service->endpoint->pod
When i create a service and no label selector exists,then the endpoint is not created.right?
Do i must created it by hand?
When i should create service with no label selector?
A service with no selector means “I will provide EndpointSlices (or
If you don’t know that you need it, you don’t need it
Thrn anytime when a service is created an endpoint is created too.
Endpoints are only created if you specify a selector. If you don’t, you have to make your own endpoints.