Which of the following best describes the role of endpoints configurations in Kubernetes?
A) Defining how services are exposed to external traffic
B) Mapping service names to their respective pods or IP addresses
C) Scaling pods based on load and resource availability
D) Configuring persistent storage for containerized applications